public abstract class ExternalContextWrapper extends ExternalContext implements FacesWrapper<ExternalContext>
Provides a simple implementation of
ExternalContext that can
be subclassed by developers wishing to provide specialized behavior
to an existing ExternalContext instance. The default
implementation of all methods is to call through to the wrapped
ExternalContext instance.
Usage: extend this class and override
getWrapped() to
return the instance being wrapping.
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH| Constructor and Description |
|---|
ExternalContextWrapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
addResponseCookie(String name,
String value,
Map<String,Object> properties)
The default behavior of this method is to
call
ExternalContext#addResponseCookie(String, String, Map)
on the wrapped ExternalContext object. |
void |
addResponseHeader(String name,
String value)
The default behavior of this method is to
call
ExternalContext#addResponseHeader(String,String)
on the wrapped ExternalContext object. |
void |
dispatch(String path)
The default behavior of this method is to
call
ExternalContext.dispatch(String)
on the wrapped ExternalContext object. |
String |
encodeActionURL(String url)
The default behavior of this method is to
call
ExternalContext.encodeActionURL(String)
on the wrapped ExternalContext object. |
String |
encodeBookmarkableURL(String baseUrl,
Map<String,List<String>> parameters)
The default behavior of this method is to
call
javax.faces.context.ExternalContext#encodeBookmarkableURL(String, java.util.Map)
on the wrapped ExternalContext object. |
String |
encodeNamespace(String name)
The default behavior of this method is to
call
ExternalContext.encodeNamespace(String)
on the wrapped ExternalContext object. |
String |
encodePartialActionURL(String url) |
String |
encodeRedirectURL(String baseUrl,
Map<String,List<String>> parameters)
The default behavior of this method is to
call
javax.faces.context.ExternalContext#encodeRedirectURL(String, java.util.Map)
on the wrapped ExternalContext object. |
String |
encodeResourceURL(String url)
The default behavior of this method is to
call
ExternalContext.encodeResourceURL(String)
on the wrapped ExternalContext object. |
Map<String,Object> |
getApplicationMap()
The default behavior of this method is to
call
ExternalContext.getApplicationMap()
on the wrapped ExternalContext object. |
String |
getAuthType()
The default behavior of this method is to
call
ExternalContext.getAuthType()
on the wrapped ExternalContext object. |
Object |
getContext()
The default behavior of this method is to
call
ExternalContext.getContext()
on the wrapped ExternalContext object. |
String |
getContextName()
The default behavior of this method is to
call
ExternalContext#getContextName
on the wrapped ExternalContext object. |
Flash |
getFlash()
The default behavior of this method is to
call ExternalContext#getFlash() on the wrapped ExternalContext
object.
|
String |
getInitParameter(String name)
The default behavior of this method is to
call
ExternalContext.getInitParameter(String)
on the wrapped ExternalContext object. |
Map |
getInitParameterMap()
The default behavior of this method is to
call
ExternalContext.getInitParameterMap()
on the wrapped ExternalContext object. |
String |
getMimeType(String file)
The default behavior of this method is to
call
ExternalContext#getMimeType(String)
on the wrapped ExternalContext object. |
String |
getRealPath(String path)
The default behavior of this method is to
call
ExternalContext#getRealPath(String)
on the wrapped ExternalContext object. |
String |
getRemoteUser()
The default behavior of this method is to
call
ExternalContext.getRemoteUser()
on the wrapped ExternalContext object. |
Object |
getRequest()
The default behavior of this method is to
call
ExternalContext.getRequest()
on the wrapped ExternalContext object. |
String |
getRequestCharacterEncoding()
The default behavior of this method is to
call
ExternalContext.getRequestCharacterEncoding()
on the wrapped ExternalContext object. |
int |
getRequestContentLength()
The default behavior of this method is to
call
ExternalContext#getRequestContentLength
on the wrapped ExternalContext object. |
String |
getRequestContentType()
The default behavior of this method is to
call
ExternalContext.getRequestContentType()
on the wrapped ExternalContext object. |
String |
getRequestContextPath()
The default behavior of this method is to
call
ExternalContext.getRequestContextPath()
on the wrapped ExternalContext object. |
Map<String,Object> |
getRequestCookieMap()
The default behavior of this method is to
call
ExternalContext.getRequestCookieMap()
on the wrapped ExternalContext object. |
Map<String,String> |
getRequestHeaderMap()
The default behavior of this method is to
call
ExternalContext.getRequestHeaderMap()
on the wrapped ExternalContext object. |
Map<String,String[]> |
getRequestHeaderValuesMap()
The default behavior of this method is to
call
ExternalContext.getRequestHeaderValuesMap()
on the wrapped ExternalContext object. |
Locale |
getRequestLocale()
The default behavior of this method is to
call
ExternalContext.getRequestLocale()
on the wrapped ExternalContext object. |
Iterator<Locale> |
getRequestLocales()
The default behavior of this method is to
call
ExternalContext.getRequestLocales()
on the wrapped ExternalContext object. |
Map<String,Object> |
getRequestMap()
The default behavior of this method is to
call
ExternalContext.getRequestMap()
on the wrapped ExternalContext object. |
Map<String,String> |
getRequestParameterMap()
The default behavior of this method is to
call
ExternalContext.getRequestParameterMap()
on the wrapped ExternalContext object. |
Iterator<String> |
getRequestParameterNames()
The default behavior of this method is to
call
ExternalContext.getRequestParameterNames()
on the wrapped ExternalContext object. |
Map<String,String[]> |
getRequestParameterValuesMap()
The default behavior of this method is to
call
ExternalContext.getRequestParameterValuesMap()
on the wrapped ExternalContext object. |
String |
getRequestPathInfo()
The default behavior of this method is to
call
ExternalContext.getRequestPathInfo()
on the wrapped ExternalContext object. |
String |
getRequestScheme()
The default behavior of this method is to
call
ExternalContext#getRequestScheme
on the wrapped ExternalContext object. |
String |
getRequestServerName()
The default behavior of this method is to
call
ExternalContext#getRequestServerName
on the wrapped ExternalContext object. |
int |
getRequestServerPort()
The default behavior of this method is to
call
ExternalContext#getRequestServerPort
on the wrapped ExternalContext object. |
String |
getRequestServletPath()
The default behavior of this method is to
call
ExternalContext.getRequestServletPath()
on the wrapped ExternalContext object. |
URL |
getResource(String path)
The default behavior of this method is to
call
ExternalContext.getResource(String)
on the wrapped ExternalContext object. |
InputStream |
getResourceAsStream(String path)
The default behavior of this method is to
call
ExternalContext.getResourceAsStream(String)
on the wrapped ExternalContext object. |
Set<String> |
getResourcePaths(String path)
The default behavior of this method is to
call
ExternalContext.getResourcePaths(String)
on the wrapped ExternalContext object. |
Object |
getResponse()
The default behavior of this method is to
call
ExternalContext.getResponse()
on the wrapped ExternalContext object. |
int |
getResponseBufferSize()
The default behavior of this method is to
call
ExternalContext#getResponseBufferSize()
on the wrapped ExternalContext object. |
String |
getResponseCharacterEncoding()
The default behavior of this method is to
call
ExternalContext.getResponseCharacterEncoding()
on the wrapped ExternalContext object. |
String |
getResponseContentType()
The default behavior of this method is to
call
ExternalContext.getResponseContentType()
on the wrapped ExternalContext object. |
OutputStream |
getResponseOutputStream()
The default behavior of this method is to
call
ExternalContext#getResponseOutputStream
on the wrapped ExternalContext object. |
Writer |
getResponseOutputWriter()
The default behavior of this method is to
call
ExternalContext#getResponseOutputWriter
on the wrapped ExternalContext object. |
Object |
getSession(boolean create)
The default behavior of this method is to
call
ExternalContext.getSession(boolean)
on the wrapped ExternalContext object. |
Map<String,Object> |
getSessionMap()
The default behavior of this method is to
call
ExternalContext.getAuthType()
on the wrapped ExternalContext object. |
Principal |
getUserPrincipal()
The default behavior of this method is to
call
ExternalContext.getUserPrincipal()
on the wrapped ExternalContext object. |
abstract ExternalContext |
getWrapped()
A class that implements this interface uses this method to return an instance of the class being wrapped. |
void |
invalidateSession()
The default behavior of this method is to
call
ExternalContext#invalidateSession
on the wrapped ExternalContext object. |
boolean |
isResponseCommitted()
The default behavior of this method is to
call
ExternalContext#isResponseCommitted()
on the wrapped ExternalContext object. |
boolean |
isUserInRole(String role)
The default behavior of this method is to
call
ExternalContext.isUserInRole(String)
on the wrapped ExternalContext object. |
void |
log(String message)
The default behavior of this method is to
call
ExternalContext.log(String)
on the wrapped ExternalContext object. |
void |
log(String message,
Throwable exception)
The default behavior of this method is to
call
ExternalContext.log(String, Throwable)
on the wrapped ExternalContext object. |
void |
redirect(String url)
The default behavior of this method is to
call
ExternalContext.redirect(String)
on the wrapped ExternalContext object. |
void |
responseFlushBuffer()
The default behavior of this method is to
call
javax.faces.context.ExternalContext#responseFlushBuffer()
on the wrapped ExternalContext object. |
void |
responseReset()
The default behavior of this method is to
call
ExternalContext#responseReset()
on the wrapped ExternalContext object. |
void |
responseSendError(int statusCode,
String message)
The default behavior of this method is to
call
ExternalContext#responseSendError(int,String)
on the wrapped ExternalContext object. |
void |
setRequest(Object request)
The default behavior of this method is to
call
ExternalContext.setRequest(Object)
on the wrapped ExternalContext object. |
void |
setRequestCharacterEncoding(String encoding)
The default behavior of this method is to
call
ExternalContext.setRequestCharacterEncoding(String)
on the wrapped ExternalContext object. |
void |
setResponse(Object response)
The default behavior of this method is to
call
ExternalContext.setResponse(Object)
on the wrapped ExternalContext object. |
void |
setResponseBufferSize(int size)
The default behavior of this method is to
call
ExternalContext#setResponseBufferSize(int)
on the wrapped ExternalContext object. |
void |
setResponseCharacterEncoding(String encoding)
The default behavior of this method is to
call
ExternalContext.getResponseCharacterEncoding()
on the wrapped ExternalContext object. |
void |
setResponseContentLength(int length)
The default behavior of this method is to
call
javax.faces.context.ExternalContext#setResponseContentLength(int)
on the wrapped ExternalContext object. |
void |
setResponseContentType(String contentType)
The default behavior of this method is to
call
ExternalContext#setResponseContentType(String)
on the wrapped ExternalContext object. |
void |
setResponseHeader(String name,
String value)
The default behavior of this method is to
call
ExternalContext#setResponseHeader(String,String)
on the wrapped ExternalContext object. |
void |
setResponseStatus(int statusCode)
The default behavior of this method is to
call
ExternalContext#setResponseStatus(int)
on the wrapped ExternalContext object. |
public abstract ExternalContext getWrapped()
FacesWrapperA class that implements this interface uses this method to return an instance of the class being wrapped.
getWrapped in interface FacesWrapper<ExternalContext>ExternalContext instanceFacesWrapper.getWrapped()public void dispatch(String path) throws IOException
The default behavior of this method is to
call ExternalContext.dispatch(String)
on the wrapped ExternalContext object.
dispatch in class ExternalContextpath - Context relative path to the specified resource,
which must start with a slash ("/") characterIOException - if an input/output error occursExternalContext.dispatch(String)public String encodeActionURL(String url)
The default behavior of this method is to
call ExternalContext.encodeActionURL(String)
on the wrapped ExternalContext object.
encodeActionURL in class ExternalContexturl - The input URL to be encodedExternalContext.encodeActionURL(String)public String encodeNamespace(String name)
The default behavior of this method is to
call ExternalContext.encodeNamespace(String)
on the wrapped ExternalContext object.
encodeNamespace in class ExternalContextname - Name to be encodedExternalContext.encodeNamespace(String)public String encodeResourceURL(String url)
The default behavior of this method is to
call ExternalContext.encodeResourceURL(String)
on the wrapped ExternalContext object.
encodeResourceURL in class ExternalContexturl - The input URL to be encodedExternalContext.encodeResourceURL(String)public Map<String,Object> getApplicationMap()
The default behavior of this method is to
call ExternalContext.getApplicationMap()
on the wrapped ExternalContext object.
getApplicationMap in class ExternalContextExternalContext.getApplicationMap()public String getAuthType()
The default behavior of this method is to
call ExternalContext.getAuthType()
on the wrapped ExternalContext object.
getAuthType in class ExternalContextExternalContext.getAuthType()public Object getContext()
The default behavior of this method is to
call ExternalContext.getContext()
on the wrapped ExternalContext object.
getContext in class ExternalContextExternalContext.getContext()public String getInitParameter(String name)
The default behavior of this method is to
call ExternalContext.getInitParameter(String)
on the wrapped ExternalContext object.
getInitParameter in class ExternalContextname - Name of the requested initialization parameterExternalContext.getInitParameter(String)public Map getInitParameterMap()
The default behavior of this method is to
call ExternalContext.getInitParameterMap()
on the wrapped ExternalContext object.
getInitParameterMap in class ExternalContextExternalContext.getInitParameterMap()public String getRemoteUser()
The default behavior of this method is to
call ExternalContext.getRemoteUser()
on the wrapped ExternalContext object.
getRemoteUser in class ExternalContextExternalContext.getRemoteUser()public Object getRequest()
The default behavior of this method is to
call ExternalContext.getRequest()
on the wrapped ExternalContext object.
getRequest in class ExternalContextExternalContext.getRequest()public String getRequestContextPath()
The default behavior of this method is to
call ExternalContext.getRequestContextPath()
on the wrapped ExternalContext object.
getRequestContextPath in class ExternalContextExternalContext.getRequestContextPath()public Map<String,Object> getRequestCookieMap()
The default behavior of this method is to
call ExternalContext.getRequestCookieMap()
on the wrapped ExternalContext object.
getRequestCookieMap in class ExternalContextExternalContext.getRequestCookieMap()public Map<String,String> getRequestHeaderMap()
The default behavior of this method is to
call ExternalContext.getRequestHeaderMap()
on the wrapped ExternalContext object.
getRequestHeaderMap in class ExternalContextExternalContext.getRequestHeaderMap()public Map<String,String[]> getRequestHeaderValuesMap()
The default behavior of this method is to
call ExternalContext.getRequestHeaderValuesMap()
on the wrapped ExternalContext object.
getRequestHeaderValuesMap in class ExternalContextExternalContext.getRequestHeaderValuesMap()public Locale getRequestLocale()
The default behavior of this method is to
call ExternalContext.getRequestLocale()
on the wrapped ExternalContext object.
getRequestLocale in class ExternalContextExternalContext.getRequestLocale()public Iterator<Locale> getRequestLocales()
The default behavior of this method is to
call ExternalContext.getRequestLocales()
on the wrapped ExternalContext object.
getRequestLocales in class ExternalContextExternalContext.getRequestLocales()public Map<String,Object> getRequestMap()
The default behavior of this method is to
call ExternalContext.getRequestMap()
on the wrapped ExternalContext object.
getRequestMap in class ExternalContextExternalContext.getRequestMap()public Map<String,String> getRequestParameterMap()
The default behavior of this method is to
call ExternalContext.getRequestParameterMap()
on the wrapped ExternalContext object.
getRequestParameterMap in class ExternalContextExternalContext.getRequestParameterMap()public Iterator<String> getRequestParameterNames()
The default behavior of this method is to
call ExternalContext.getRequestParameterNames()
on the wrapped ExternalContext object.
getRequestParameterNames in class ExternalContextExternalContext.getRequestParameterNames()public Map<String,String[]> getRequestParameterValuesMap()
The default behavior of this method is to
call ExternalContext.getRequestParameterValuesMap()
on the wrapped ExternalContext object.
getRequestParameterValuesMap in class ExternalContextExternalContext.getRequestParameterValuesMap()public String getRequestPathInfo()
The default behavior of this method is to
call ExternalContext.getRequestPathInfo()
on the wrapped ExternalContext object.
getRequestPathInfo in class ExternalContextExternalContext.getRequestPathInfo()public String getRequestServletPath()
The default behavior of this method is to
call ExternalContext.getRequestServletPath()
on the wrapped ExternalContext object.
getRequestServletPath in class ExternalContextExternalContext.getRequestServletPath()public URL getResource(String path) throws MalformedURLException
The default behavior of this method is to
call ExternalContext.getResource(String)
on the wrapped ExternalContext object.
getResource in class ExternalContextpath - The path to the requested resource, which must
start with a slash ("/" characterMalformedURLException - if the specified path
is not in the correct formExternalContext.getResource(String)public InputStream getResourceAsStream(String path)
The default behavior of this method is to
call ExternalContext.getResourceAsStream(String)
on the wrapped ExternalContext object.
getResourceAsStream in class ExternalContextpath - The path to the requested resource, which must
start with a slash ("/" characterExternalContext.getResourceAsStream(String)public Set<String> getResourcePaths(String path)
The default behavior of this method is to
call ExternalContext.getResourcePaths(String)
on the wrapped ExternalContext object.
getResourcePaths in class ExternalContextpath - Partial path used to match resources, which must
start with a slash ("/") characterExternalContext.getResourcePaths(String)public Object getResponse()
The default behavior of this method is to
call ExternalContext.getResponse()
on the wrapped ExternalContext object.
getResponse in class ExternalContextExternalContext.getResponse()public Object getSession(boolean create)
The default behavior of this method is to
call ExternalContext.getSession(boolean)
on the wrapped ExternalContext object.
getSession in class ExternalContextcreate - Flag indicating whether or not a new session should be
created if there is no session associated with the current requestExternalContext.getSession(boolean)public Map<String,Object> getSessionMap()
The default behavior of this method is to
call ExternalContext.getAuthType()
on the wrapped ExternalContext object.
getSessionMap in class ExternalContextExternalContext.getAuthType()public Principal getUserPrincipal()
The default behavior of this method is to
call ExternalContext.getUserPrincipal()
on the wrapped ExternalContext object.
getUserPrincipal in class ExternalContextExternalContext.getUserPrincipal()public boolean isUserInRole(String role)
The default behavior of this method is to
call ExternalContext.isUserInRole(String)
on the wrapped ExternalContext object.
isUserInRole in class ExternalContextrole - Logical role name to be checkedExternalContext.isUserInRole(String)public void log(String message)
The default behavior of this method is to
call ExternalContext.log(String)
on the wrapped ExternalContext object.
log in class ExternalContextmessage - Message to be loggedExternalContext.log(String)public void log(String message, Throwable exception)
The default behavior of this method is to
call ExternalContext.log(String, Throwable)
on the wrapped ExternalContext object.
log in class ExternalContextmessage - Message to be loggedexception - Exception to be loggedExternalContext.log(String, Throwable)public void redirect(String url) throws IOException
The default behavior of this method is to
call ExternalContext.redirect(String)
on the wrapped ExternalContext object.
redirect in class ExternalContexturl - Absolute URL to which the client should be redirectedIOException - if an input/output error occursExternalContext.redirect(String)public void addResponseCookie(String name, String value, Map<String,Object> properties)
The default behavior of this method is to
call ExternalContext#addResponseCookie(String, String, Map)
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#addResponseCookie(String, String, Map)public String getMimeType(String file)
The default behavior of this method is to
call ExternalContext#getMimeType(String)
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#getMimeType(String)public String getContextName()
The default behavior of this method is to
call ExternalContext#getContextName
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#getContextName()public void setRequest(Object request)
The default behavior of this method is to
call ExternalContext.setRequest(Object)
on the wrapped ExternalContext object.
setRequest in class ExternalContextExternalContext.setRequest(Object)public String getRequestScheme()
The default behavior of this method is to
call ExternalContext#getRequestScheme
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#getRequestScheme()public String getRequestServerName()
The default behavior of this method is to
call ExternalContext#getRequestServerName
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#getRequestServerName()public int getRequestServerPort()
The default behavior of this method is to
call ExternalContext#getRequestServerPort
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#getRequestServerPort()public void setRequestCharacterEncoding(String encoding) throws UnsupportedEncodingException
The default behavior of this method is to
call ExternalContext.setRequestCharacterEncoding(String)
on the wrapped ExternalContext object.
setRequestCharacterEncoding in class ExternalContextUnsupportedEncodingException - if this is not a valid
encodingExternalContext.setRequestCharacterEncoding(String)public String getRealPath(String path)
The default behavior of this method is to
call ExternalContext#getRealPath(String)
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#getRealPath(String)public String getRequestCharacterEncoding()
The default behavior of this method is to
call ExternalContext.getRequestCharacterEncoding()
on the wrapped ExternalContext object.
getRequestCharacterEncoding in class ExternalContextExternalContext.getRequestCharacterEncoding()public String getRequestContentType()
The default behavior of this method is to
call ExternalContext.getRequestContentType()
on the wrapped ExternalContext object.
getRequestContentType in class ExternalContextExternalContext.getRequestContentType()public int getRequestContentLength()
The default behavior of this method is to
call ExternalContext#getRequestContentLength
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#getRequestContentLength()public String getResponseCharacterEncoding()
The default behavior of this method is to
call ExternalContext.getResponseCharacterEncoding()
on the wrapped ExternalContext object.
getResponseCharacterEncoding in class ExternalContextExternalContext.getResponseCharacterEncoding()public String getResponseContentType()
The default behavior of this method is to
call ExternalContext.getResponseContentType()
on the wrapped ExternalContext object.
getResponseContentType in class ExternalContextExternalContext.getResponseContentType()public void setResponse(Object response)
The default behavior of this method is to
call ExternalContext.setResponse(Object)
on the wrapped ExternalContext object.
setResponse in class ExternalContextExternalContext.setResponse(Object)public OutputStream getResponseOutputStream() throws IOException
The default behavior of this method is to
call ExternalContext#getResponseOutputStream
on the wrapped ExternalContext object.
IOExceptionjavax.faces.context.ExternalContext#getResponseOutputStream()public Writer getResponseOutputWriter() throws IOException
The default behavior of this method is to
call ExternalContext#getResponseOutputWriter
on the wrapped ExternalContext object.
IOExceptionjavax.faces.context.ExternalContext#getResponseOutputWriter()public void setResponseCharacterEncoding(String encoding)
The default behavior of this method is to
call ExternalContext.getResponseCharacterEncoding()
on the wrapped ExternalContext object.
setResponseCharacterEncoding in class ExternalContextExternalContext.getResponseCharacterEncoding()public void setResponseContentType(String contentType)
The default behavior of this method is to
call ExternalContext#setResponseContentType(String)
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#setResponseContentType(String)public void invalidateSession()
The default behavior of this method is to
call ExternalContext#invalidateSession
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#invalidateSession()public void setResponseHeader(String name, String value)
The default behavior of this method is to
call ExternalContext#setResponseHeader(String,String)
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#setResponseHeader(String,String)public void addResponseHeader(String name, String value)
The default behavior of this method is to
call ExternalContext#addResponseHeader(String,String)
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#addResponseHeader(String,String)public void setResponseBufferSize(int size)
The default behavior of this method is to
call ExternalContext#setResponseBufferSize(int)
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#setResponseBufferSize(int)public int getResponseBufferSize()
The default behavior of this method is to
call ExternalContext#getResponseBufferSize()
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#getResponseBufferSize()public boolean isResponseCommitted()
The default behavior of this method is to
call ExternalContext#isResponseCommitted()
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#isResponseCommitted()public void responseReset()
The default behavior of this method is to
call ExternalContext#responseReset()
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#responseReset()public void responseSendError(int statusCode,
String message)
throws IOException
The default behavior of this method is to
call ExternalContext#responseSendError(int,String)
on the wrapped ExternalContext object.
IOExceptionjavax.faces.context.ExternalContext#responseSendError(int,String)public void setResponseStatus(int statusCode)
The default behavior of this method is to
call ExternalContext#setResponseStatus(int)
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#setResponseStatus(int)public void responseFlushBuffer()
throws IOException
The default behavior of this method is to
call javax.faces.context.ExternalContext#responseFlushBuffer()
on the wrapped ExternalContext object.
IOExceptionjavax.faces.context.ExternalContext#responseFlushBuffer()public void setResponseContentLength(int length)
The default behavior of this method is to
call javax.faces.context.ExternalContext#setResponseContentLength(int)
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#setResponseContentLength(int)public String encodeBookmarkableURL(String baseUrl, Map<String,List<String>> parameters)
The default behavior of this method is to
call javax.faces.context.ExternalContext#encodeBookmarkableURL(String, java.util.Map)
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#encodeBookmarkableURL(String, java.util.Map)public String encodeRedirectURL(String baseUrl, Map<String,List<String>> parameters)
The default behavior of this method is to
call javax.faces.context.ExternalContext#encodeRedirectURL(String, java.util.Map)
on the wrapped ExternalContext object.
javax.faces.context.ExternalContext#encodeRedirectURL(String, java.util.Map)public Flash getFlash()
The default behavior of this method is to
call ExternalContext#getFlash() on the wrapped ExternalContext
object.
javax.faces.context.ExternalContext#getFlash()Copyright © 2018 JBoss by Red Hat. All rights reserved.