org.apache.myfaces.extensions.cdi.jsf2.impl.scope.conversation
Class RedirectedConversationAwareExternalContext

java.lang.Object
  extended by javax.faces.context.ExternalContext
      extended by javax.faces.context.ExternalContextWrapper
          extended by org.apache.myfaces.extensions.cdi.jsf2.impl.scope.conversation.RedirectedConversationAwareExternalContext
All Implemented Interfaces:
javax.faces.FacesWrapper<javax.faces.context.ExternalContext>

public class RedirectedConversationAwareExternalContext
extends javax.faces.context.ExternalContextWrapper

keep in sync with org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.RedirectedConversationAwareExternalContext


Field Summary
 
Fields inherited from class javax.faces.context.ExternalContext
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
RedirectedConversationAwareExternalContext(javax.faces.context.ExternalContext wrapped)
          Constructor for wrapping the given ExternalContext
 
Method Summary
 String encodeActionURL(String s)
          Adds the current window-id to the URL (if permitted)
 javax.faces.context.ExternalContext getWrapped()
          
 void invalidateSession()
           
 void redirect(String url)
          Triggers a redirect which is aware of the current window and preserves the FacesMessages.
 
Methods inherited from class javax.faces.context.ExternalContextWrapper
addResponseCookie, addResponseHeader, dispatch, encodeBookmarkableURL, encodeNamespace, encodePartialActionURL, encodeRedirectURL, encodeResourceURL, getApplicationMap, getAuthType, getContext, getContextName, getFlash, getInitParameter, getInitParameterMap, getMimeType, getRealPath, getRemoteUser, getRequest, getRequestCharacterEncoding, getRequestContentLength, getRequestContentType, getRequestContextPath, getRequestCookieMap, getRequestHeaderMap, getRequestHeaderValuesMap, getRequestLocale, getRequestLocales, getRequestMap, getRequestParameterMap, getRequestParameterNames, getRequestParameterValuesMap, getRequestPathInfo, getRequestScheme, getRequestServerName, getRequestServerPort, getRequestServletPath, getResource, getResourceAsStream, getResourcePaths, getResponse, getResponseBufferSize, getResponseCharacterEncoding, getResponseContentType, getResponseOutputStream, getResponseOutputWriter, getSession, getSessionMap, getUserPrincipal, isResponseCommitted, isUserInRole, log, log, responseFlushBuffer, responseReset, responseSendError, setRequest, setRequestCharacterEncoding, setResponse, setResponseBufferSize, setResponseCharacterEncoding, setResponseContentLength, setResponseContentType, setResponseHeader, setResponseStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedirectedConversationAwareExternalContext

public RedirectedConversationAwareExternalContext(javax.faces.context.ExternalContext wrapped)
Constructor for wrapping the given ExternalContext

Parameters:
wrapped - external-context which should be wrapped
Method Detail

getWrapped

public javax.faces.context.ExternalContext getWrapped()

Specified by:
getWrapped in interface javax.faces.FacesWrapper<javax.faces.context.ExternalContext>
Overrides:
getWrapped in class javax.faces.context.ExternalContextWrapper

encodeActionURL

public String encodeActionURL(String s)
Adds the current window-id to the URL (if permitted)

Overrides:
encodeActionURL in class javax.faces.context.ExternalContextWrapper

redirect

public void redirect(String url)
              throws IOException
Triggers a redirect which is aware of the current window and preserves the FacesMessages.

Overrides:
redirect in class javax.faces.context.ExternalContextWrapper
Throws:
IOException

invalidateSession

public void invalidateSession()
Overrides:
invalidateSession in class javax.faces.context.ExternalContextWrapper


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.