com.liferay.faces.bridge.context
Class ExternalContextCompat_2_1_Impl

java.lang.Object
  extended by javax.faces.context.ExternalContext
      extended by com.liferay.faces.bridge.context.ExternalContextCompat_1_2_Impl
          extended by com.liferay.faces.bridge.context.ExternalContextCompat_2_0_FlashImpl
              extended by com.liferay.faces.bridge.context.ExternalContextCompat_2_0_Impl
                  extended by com.liferay.faces.bridge.context.ExternalContextCompat_2_1_Impl
Direct Known Subclasses:
ExternalContextCompat_2_2_Impl

public abstract class ExternalContextCompat_2_1_Impl
extends ExternalContextCompat_2_0_Impl

This class provides a compatibility layer that isolates differences between JSF 2.0 and JSF 2.1.

Author:
Neil Griffin

Field Summary
 
Fields inherited from class com.liferay.faces.bridge.context.ExternalContextCompat_2_0_Impl
facesImplementationServletResponse, portletPhase, requestContextPath
 
Fields inherited from class com.liferay.faces.bridge.context.ExternalContextCompat_1_2_Impl
bridgeContext, incongruityContext, manageIncongruities, portletContext, portletRequest, portletResponse
 
Fields inherited from class javax.faces.context.ExternalContext
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
ExternalContextCompat_2_1_Impl(javax.portlet.PortletContext portletContext, javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse)
           
 
Method Summary
 int getSessionMaxInactiveInterval()
           
 boolean isSecure()
           
 void setSessionMaxInactiveInterval(int sessionMaxInactiveInterval)
           
 
Methods inherited from class com.liferay.faces.bridge.context.ExternalContextCompat_2_0_Impl
addResponseCookie, addResponseHeader, createCookie, encodeBookmarkableURL, encodePartialActionURL, encodeRedirectURL, getContextName, getMimeType, getRealPath, getRequestContentLength, getRequestScheme, getRequestServerName, getRequestServerPort, getResponseBufferSize, getResponseOutputStream, getResponseOutputWriter, invalidateSession, isICEfacesLegacyMode, isResponseCommitted, responseFlushBuffer, responseReset, responseSendError, setResponseBufferSize, setResponseContentLength, setResponseContentType, setResponseHeader, setResponseStatus
 
Methods inherited from class com.liferay.faces.bridge.context.ExternalContextCompat_2_0_FlashImpl
createFlashHttpServletResponse, getFlash, isBridgeFlashServletResponseRequired, setFlash
 
Methods inherited from class com.liferay.faces.bridge.context.ExternalContextCompat_1_2_Impl
encodeActionURL, isEncodingFormWithPrimeFacesAjaxFileUpload
 
Methods inherited from class javax.faces.context.ExternalContext
dispatch, encodeNamespace, encodeResourceURL, getApplicationMap, getAuthType, getContext, getInitParameter, getInitParameterMap, getRemoteUser, getRequest, getRequestCharacterEncoding, getRequestContentType, getRequestContextPath, getRequestCookieMap, getRequestHeaderMap, getRequestHeaderValuesMap, getRequestLocale, getRequestLocales, getRequestMap, getRequestParameterMap, getRequestParameterNames, getRequestParameterValuesMap, getRequestPathInfo, getRequestServletPath, getResource, getResourceAsStream, getResourcePaths, getResponse, getResponseCharacterEncoding, getResponseContentType, getSession, getSessionMap, getUserPrincipal, isUserInRole, log, log, redirect, setRequest, setRequestCharacterEncoding, setResponse, setResponseCharacterEncoding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalContextCompat_2_1_Impl

public ExternalContextCompat_2_1_Impl(javax.portlet.PortletContext portletContext,
                                      javax.portlet.PortletRequest portletRequest,
                                      javax.portlet.PortletResponse portletResponse)
Method Detail

isSecure

public boolean isSecure()
Overrides:
isSecure in class javax.faces.context.ExternalContext
Since:
JSF 2.1
See Also:
ExternalContext#isSecure()}

getSessionMaxInactiveInterval

public int getSessionMaxInactiveInterval()
Overrides:
getSessionMaxInactiveInterval in class javax.faces.context.ExternalContext
Since:
JSF 2.1
See Also:
ExternalContext#getSessionMaxInactiveInterval()}

setSessionMaxInactiveInterval

public void setSessionMaxInactiveInterval(int sessionMaxInactiveInterval)
Overrides:
setSessionMaxInactiveInterval in class javax.faces.context.ExternalContext
Since:
JSF 2.1
See Also:
ExternalContext#setSessionMaxInactiveInterval(int)}


Copyright © 2014 Liferay, Inc.. All Rights Reserved.