public abstract class ExternalContextWrapper extends ExternalContext implements FacesWrapper<ExternalContext>
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
Constructor and Description |
---|
ExternalContextWrapper() |
public void addResponseCookie(String name, String value, Map<String,Object> properties)
addResponseCookie
in class ExternalContext
public void addResponseHeader(String name, String value)
addResponseHeader
in class ExternalContext
public void dispatch(String path) throws IOException
dispatch
in class ExternalContext
IOException
public String encodeActionURL(String url)
encodeActionURL
in class ExternalContext
public String encodeBookmarkableURL(String baseUrl, Map<String,List<String>> parameters)
encodeBookmarkableURL
in class ExternalContext
public String encodeNamespace(String name)
encodeNamespace
in class ExternalContext
public String encodePartialActionURL(String url)
encodePartialActionURL
in class ExternalContext
public String encodeRedirectURL(String baseUrl, Map<String,List<String>> parameters)
encodeRedirectURL
in class ExternalContext
public String encodeResourceURL(String url)
encodeResourceURL
in class ExternalContext
public Map<String,Object> getApplicationMap()
getApplicationMap
in class ExternalContext
public String getAuthType()
getAuthType
in class ExternalContext
public Object getContext()
getContext
in class ExternalContext
public String getContextName()
ExternalContext
getContextName
in class ExternalContext
public Flash getFlash()
getFlash
in class ExternalContext
public String getInitParameter(String name)
getInitParameter
in class ExternalContext
public Map getInitParameterMap()
getInitParameterMap
in class ExternalContext
public String getMimeType(String file)
getMimeType
in class ExternalContext
public String getRealPath(String path)
getRealPath
in class ExternalContext
public String getRemoteUser()
getRemoteUser
in class ExternalContext
public Object getRequest()
getRequest
in class ExternalContext
public String getRequestCharacterEncoding()
getRequestCharacterEncoding
in class ExternalContext
public int getRequestContentLength()
getRequestContentLength
in class ExternalContext
public String getRequestContentType()
getRequestContentType
in class ExternalContext
public String getRequestContextPath()
getRequestContextPath
in class ExternalContext
public Map<String,Object> getRequestCookieMap()
getRequestCookieMap
in class ExternalContext
public Map<String,String> getRequestHeaderMap()
getRequestHeaderMap
in class ExternalContext
public Map<String,String[]> getRequestHeaderValuesMap()
getRequestHeaderValuesMap
in class ExternalContext
public Locale getRequestLocale()
getRequestLocale
in class ExternalContext
public Iterator<Locale> getRequestLocales()
getRequestLocales
in class ExternalContext
public Map<String,Object> getRequestMap()
getRequestMap
in class ExternalContext
public Map<String,String> getRequestParameterMap()
getRequestParameterMap
in class ExternalContext
public Iterator<String> getRequestParameterNames()
getRequestParameterNames
in class ExternalContext
public Map<String,String[]> getRequestParameterValuesMap()
getRequestParameterValuesMap
in class ExternalContext
public String getRequestPathInfo()
getRequestPathInfo
in class ExternalContext
public String getRequestScheme()
getRequestScheme
in class ExternalContext
public String getRequestServerName()
getRequestServerName
in class ExternalContext
public int getRequestServerPort()
getRequestServerPort
in class ExternalContext
public String getRequestServletPath()
getRequestServletPath
in class ExternalContext
public URL getResource(String path) throws MalformedURLException
getResource
in class ExternalContext
MalformedURLException
public InputStream getResourceAsStream(String path)
getResourceAsStream
in class ExternalContext
public Set<String> getResourcePaths(String path)
getResourcePaths
in class ExternalContext
public Object getResponse()
getResponse
in class ExternalContext
public int getResponseBufferSize()
getResponseBufferSize
in class ExternalContext
public String getResponseCharacterEncoding()
getResponseCharacterEncoding
in class ExternalContext
public String getResponseContentType()
ExternalContext
UnsupportedOperationException
by default.getResponseContentType
in class ExternalContext
public OutputStream getResponseOutputStream() throws IOException
getResponseOutputStream
in class ExternalContext
IOException
public Writer getResponseOutputWriter() throws IOException
getResponseOutputWriter
in class ExternalContext
IOException
public Object getSession(boolean create)
getSession
in class ExternalContext
public Map<String,Object> getSessionMap()
getSessionMap
in class ExternalContext
public Principal getUserPrincipal()
getUserPrincipal
in class ExternalContext
public abstract ExternalContext getWrapped()
FacesWrapper
getWrapped
in interface FacesWrapper<ExternalContext>
public void invalidateSession()
invalidateSession
in class ExternalContext
public boolean isResponseCommitted()
isResponseCommitted
in class ExternalContext
public boolean isUserInRole(String role)
isUserInRole
in class ExternalContext
public void log(String message, Throwable exception)
log
in class ExternalContext
public void log(String message)
log
in class ExternalContext
public void redirect(String url) throws IOException
redirect
in class ExternalContext
IOException
public void responseFlushBuffer() throws IOException
responseFlushBuffer
in class ExternalContext
IOException
public void responseReset()
responseReset
in class ExternalContext
public void responseSendError(int statusCode, String message) throws IOException
responseSendError
in class ExternalContext
IOException
public void setRequest(Object request)
ExternalContext
UnsupportedOperationException
by default.setRequest
in class ExternalContext
public void setRequestCharacterEncoding(String encoding) throws UnsupportedEncodingException
ExternalContext
UnsupportedOperationException
by default.setRequestCharacterEncoding
in class ExternalContext
UnsupportedEncodingException
public void setResponse(Object response)
ExternalContext
UnsupportedOperationException
by default.setResponse
in class ExternalContext
public void setResponseBufferSize(int size)
setResponseBufferSize
in class ExternalContext
public void setResponseCharacterEncoding(String encoding)
ExternalContext
UnsupportedOperationException
by default.setResponseCharacterEncoding
in class ExternalContext
public void setResponseContentLength(int length)
setResponseContentLength
in class ExternalContext
public void setResponseContentType(String contentType)
setResponseContentType
in class ExternalContext
public void setResponseHeader(String name, String value)
setResponseHeader
in class ExternalContext
public void setResponseStatus(int statusCode)
setResponseStatus
in class ExternalContext
public boolean isSecure()
isSecure
in class ExternalContext
public int getSessionMaxInactiveInterval()
getSessionMaxInactiveInterval
in class ExternalContext
public void setSessionMaxInactiveInterval(int interval)
setSessionMaxInactiveInterval
in class ExternalContext
public ClientWindow getClientWindow()
getClientWindow
in class ExternalContext
public void setClientWindow(ClientWindow window)
setClientWindow
in class ExternalContext
public String getSessionId(boolean create)
getSessionId
in class ExternalContext
public String getApplicationContextPath()
getApplicationContextPath
in class ExternalContext
Copyright © 2021 The Apache Software Foundation. All rights reserved.