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 ExternalContextpublic void addResponseHeader(String name, String value)
addResponseHeader in class ExternalContextpublic void dispatch(String path) throws IOException
dispatch in class ExternalContextIOExceptionpublic String encodeActionURL(String url)
encodeActionURL in class ExternalContextpublic String encodeBookmarkableURL(String baseUrl, Map<String,List<String>> parameters)
encodeBookmarkableURL in class ExternalContextpublic String encodeNamespace(String name)
encodeNamespace in class ExternalContextpublic String encodePartialActionURL(String url)
encodePartialActionURL in class ExternalContextpublic String encodeRedirectURL(String baseUrl, Map<String,List<String>> parameters)
encodeRedirectURL in class ExternalContextpublic String encodeResourceURL(String url)
encodeResourceURL in class ExternalContextpublic Map<String,Object> getApplicationMap()
getApplicationMap in class ExternalContextpublic String getAuthType()
getAuthType in class ExternalContextpublic Object getContext()
getContext in class ExternalContextpublic String getContextName()
ExternalContextgetContextName in class ExternalContextpublic Flash getFlash()
getFlash in class ExternalContextpublic String getInitParameter(String name)
getInitParameter in class ExternalContextpublic Map getInitParameterMap()
getInitParameterMap in class ExternalContextpublic String getMimeType(String file)
getMimeType in class ExternalContextpublic String getRealPath(String path)
getRealPath in class ExternalContextpublic String getRemoteUser()
getRemoteUser in class ExternalContextpublic Object getRequest()
getRequest in class ExternalContextpublic String getRequestCharacterEncoding()
getRequestCharacterEncoding in class ExternalContextpublic int getRequestContentLength()
getRequestContentLength in class ExternalContextpublic String getRequestContentType()
getRequestContentType in class ExternalContextpublic String getRequestContextPath()
getRequestContextPath in class ExternalContextpublic Map<String,Object> getRequestCookieMap()
getRequestCookieMap in class ExternalContextpublic Map<String,String> getRequestHeaderMap()
getRequestHeaderMap in class ExternalContextpublic Map<String,String[]> getRequestHeaderValuesMap()
getRequestHeaderValuesMap in class ExternalContextpublic Locale getRequestLocale()
getRequestLocale in class ExternalContextpublic Iterator<Locale> getRequestLocales()
getRequestLocales in class ExternalContextpublic Map<String,Object> getRequestMap()
getRequestMap in class ExternalContextpublic Map<String,String> getRequestParameterMap()
getRequestParameterMap in class ExternalContextpublic Iterator<String> getRequestParameterNames()
getRequestParameterNames in class ExternalContextpublic Map<String,String[]> getRequestParameterValuesMap()
getRequestParameterValuesMap in class ExternalContextpublic String getRequestPathInfo()
getRequestPathInfo in class ExternalContextpublic String getRequestScheme()
getRequestScheme in class ExternalContextpublic String getRequestServerName()
getRequestServerName in class ExternalContextpublic int getRequestServerPort()
getRequestServerPort in class ExternalContextpublic String getRequestServletPath()
getRequestServletPath in class ExternalContextpublic URL getResource(String path) throws MalformedURLException
getResource in class ExternalContextMalformedURLExceptionpublic InputStream getResourceAsStream(String path)
getResourceAsStream in class ExternalContextpublic Set<String> getResourcePaths(String path)
getResourcePaths in class ExternalContextpublic Object getResponse()
getResponse in class ExternalContextpublic int getResponseBufferSize()
getResponseBufferSize in class ExternalContextpublic String getResponseCharacterEncoding()
getResponseCharacterEncoding in class ExternalContextpublic String getResponseContentType()
ExternalContextUnsupportedOperationException by default.getResponseContentType in class ExternalContextpublic OutputStream getResponseOutputStream() throws IOException
getResponseOutputStream in class ExternalContextIOExceptionpublic Writer getResponseOutputWriter() throws IOException
getResponseOutputWriter in class ExternalContextIOExceptionpublic Object getSession(boolean create)
getSession in class ExternalContextpublic Map<String,Object> getSessionMap()
getSessionMap in class ExternalContextpublic Principal getUserPrincipal()
getUserPrincipal in class ExternalContextpublic abstract ExternalContext getWrapped()
FacesWrappergetWrapped in interface FacesWrapper<ExternalContext>public void invalidateSession()
invalidateSession in class ExternalContextpublic boolean isResponseCommitted()
isResponseCommitted in class ExternalContextpublic boolean isUserInRole(String role)
isUserInRole in class ExternalContextpublic void log(String message, Throwable exception)
log in class ExternalContextpublic void log(String message)
log in class ExternalContextpublic void redirect(String url) throws IOException
redirect in class ExternalContextIOExceptionpublic void responseFlushBuffer()
throws IOException
responseFlushBuffer in class ExternalContextIOExceptionpublic void responseReset()
responseReset in class ExternalContextpublic void responseSendError(int statusCode,
String message)
throws IOException
responseSendError in class ExternalContextIOExceptionpublic void setRequest(Object request)
ExternalContextUnsupportedOperationException by default.setRequest in class ExternalContextpublic void setRequestCharacterEncoding(String encoding) throws UnsupportedEncodingException
ExternalContextUnsupportedOperationException by default.setRequestCharacterEncoding in class ExternalContextUnsupportedEncodingExceptionpublic void setResponse(Object response)
ExternalContextUnsupportedOperationException by default.setResponse in class ExternalContextpublic void setResponseBufferSize(int size)
setResponseBufferSize in class ExternalContextpublic void setResponseCharacterEncoding(String encoding)
ExternalContextUnsupportedOperationException by default.setResponseCharacterEncoding in class ExternalContextpublic void setResponseContentLength(int length)
setResponseContentLength in class ExternalContextpublic void setResponseContentType(String contentType)
setResponseContentType in class ExternalContextpublic void setResponseHeader(String name, String value)
setResponseHeader in class ExternalContextpublic void setResponseStatus(int statusCode)
setResponseStatus in class ExternalContextCopyright © 2021 The Apache Software Foundation. All Rights Reserved.