public class RedirectedConversationAwareExternalContext
extends javax.faces.context.ExternalContext
ExternalContext
which is needed for the window-id supportConstructor and Description |
---|
RedirectedConversationAwareExternalContext(javax.faces.context.ExternalContext wrapped)
Constructor for wrapping the given
ExternalContext |
addResponseCookie, addResponseHeader, encodeBookmarkableURL, encodePartialActionURL, encodeRedirectURL, getContextName, getFlash, getMimeType, getRealPath, getRequestContentLength, getRequestScheme, getRequestServerName, getRequestServerPort, getResponseBufferSize, getResponseOutputStream, getResponseOutputWriter, invalidateSession, isResponseCommitted, responseFlushBuffer, responseReset, responseSendError, setResponseBufferSize, setResponseContentLength, setResponseContentType, setResponseHeader, setResponseStatus
public RedirectedConversationAwareExternalContext(javax.faces.context.ExternalContext wrapped)
ExternalContext
wrapped
- external-context which should be wrappedpublic String encodeActionURL(String s)
encodeActionURL
in class javax.faces.context.ExternalContext
public void redirect(String url) throws IOException
FacesMessage
s.
redirect
in class javax.faces.context.ExternalContext
IOException
public void dispatch(String s) throws IOException
dispatch
in class javax.faces.context.ExternalContext
IOException
public String encodeNamespace(String s)
encodeNamespace
in class javax.faces.context.ExternalContext
public String encodeResourceURL(String s)
encodeResourceURL
in class javax.faces.context.ExternalContext
public Map<String,Object> getApplicationMap()
getApplicationMap
in class javax.faces.context.ExternalContext
public String getAuthType()
getAuthType
in class javax.faces.context.ExternalContext
public Object getContext()
getContext
in class javax.faces.context.ExternalContext
public String getInitParameter(String s)
getInitParameter
in class javax.faces.context.ExternalContext
public Map getInitParameterMap()
getInitParameterMap
in class javax.faces.context.ExternalContext
public String getRemoteUser()
getRemoteUser
in class javax.faces.context.ExternalContext
public Object getRequest()
getRequest
in class javax.faces.context.ExternalContext
public String getRequestCharacterEncoding()
getRequestCharacterEncoding
in class javax.faces.context.ExternalContext
public String getRequestContentType()
getRequestContentType
in class javax.faces.context.ExternalContext
public String getRequestContextPath()
getRequestContextPath
in class javax.faces.context.ExternalContext
public Map<String,Object> getRequestCookieMap()
getRequestCookieMap
in class javax.faces.context.ExternalContext
public Map<String,String> getRequestHeaderMap()
getRequestHeaderMap
in class javax.faces.context.ExternalContext
public Map<String,String[]> getRequestHeaderValuesMap()
getRequestHeaderValuesMap
in class javax.faces.context.ExternalContext
public Locale getRequestLocale()
getRequestLocale
in class javax.faces.context.ExternalContext
public Iterator<Locale> getRequestLocales()
getRequestLocales
in class javax.faces.context.ExternalContext
public Map<String,Object> getRequestMap()
getRequestMap
in class javax.faces.context.ExternalContext
public Map<String,String> getRequestParameterMap()
getRequestParameterMap
in class javax.faces.context.ExternalContext
public Iterator<String> getRequestParameterNames()
getRequestParameterNames
in class javax.faces.context.ExternalContext
public Map<String,String[]> getRequestParameterValuesMap()
getRequestParameterValuesMap
in class javax.faces.context.ExternalContext
public String getRequestPathInfo()
getRequestPathInfo
in class javax.faces.context.ExternalContext
public String getRequestServletPath()
getRequestServletPath
in class javax.faces.context.ExternalContext
public URL getResource(String s) throws MalformedURLException
getResource
in class javax.faces.context.ExternalContext
MalformedURLException
public InputStream getResourceAsStream(String s)
getResourceAsStream
in class javax.faces.context.ExternalContext
public Set<String> getResourcePaths(String s)
getResourcePaths
in class javax.faces.context.ExternalContext
public Object getResponse()
getResponse
in class javax.faces.context.ExternalContext
public String getResponseContentType()
getResponseContentType
in class javax.faces.context.ExternalContext
public Object getSession(boolean b)
getSession
in class javax.faces.context.ExternalContext
public Map<String,Object> getSessionMap()
getSessionMap
in class javax.faces.context.ExternalContext
public Principal getUserPrincipal()
getUserPrincipal
in class javax.faces.context.ExternalContext
public void setRequest(Object o)
setRequest
in class javax.faces.context.ExternalContext
public void setRequestCharacterEncoding(String s) throws UnsupportedEncodingException
setRequestCharacterEncoding
in class javax.faces.context.ExternalContext
UnsupportedEncodingException
public void setResponse(Object o)
setResponse
in class javax.faces.context.ExternalContext
public void setResponseCharacterEncoding(String s)
setResponseCharacterEncoding
in class javax.faces.context.ExternalContext
public String getResponseCharacterEncoding()
getResponseCharacterEncoding
in class javax.faces.context.ExternalContext
public boolean isUserInRole(String s)
isUserInRole
in class javax.faces.context.ExternalContext
public void log(String s)
log
in class javax.faces.context.ExternalContext
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.