public class ExternalContextImpl
extends javax.faces.context.ExternalContext
| Constructor and Description |
|---|
ExternalContextImpl() |
addResponseCookie, addResponseHeader, encodeBookmarkableURL, encodePartialActionURL, encodeRedirectURL, getContextName, getFlash, getRealPath, getRequestCharacterEncoding, getRequestContentLength, getRequestContentType, getRequestScheme, getRequestServerName, getRequestServerPort, getResponseBufferSize, getResponseContentType, getResponseOutputStream, getResponseOutputWriter, getSessionMaxInactiveInterval, invalidateSession, isResponseCommitted, isSecure, responseFlushBuffer, responseReset, responseSendError, setRequest, setRequestCharacterEncoding, setResponse, setResponseBufferSize, setResponseCharacterEncoding, setResponseContentLength, setResponseContentType, setResponseHeader, setResponseStatus, setSessionMaxInactiveIntervalprotected void setWebRoot(String webroot)
public void dispatch(String path) throws IOException
dispatch in class javax.faces.context.ExternalContextIOExceptionpublic String encodeActionURL(String url)
encodeActionURL in class javax.faces.context.ExternalContextpublic String encodeNamespace(String name)
encodeNamespace in class javax.faces.context.ExternalContextpublic String encodeResourceURL(String url)
encodeResourceURL in class javax.faces.context.ExternalContextpublic Map<String,Object> getApplicationMap()
getApplicationMap in class javax.faces.context.ExternalContextpublic String getAuthType()
getAuthType in class javax.faces.context.ExternalContextpublic Object getContext()
getContext in class javax.faces.context.ExternalContextpublic String getInitParameter(String name)
getInitParameter in class javax.faces.context.ExternalContextpublic Map getInitParameterMap()
getInitParameterMap in class javax.faces.context.ExternalContextpublic String getRemoteUser()
getRemoteUser in class javax.faces.context.ExternalContextpublic Object getRequest()
getRequest in class javax.faces.context.ExternalContextpublic String getRequestContextPath()
getRequestContextPath in class javax.faces.context.ExternalContextpublic Map<String,Object> getRequestCookieMap()
getRequestCookieMap in class javax.faces.context.ExternalContextpublic Map<String,String> getRequestHeaderMap()
getRequestHeaderMap in class javax.faces.context.ExternalContextpublic Map<String,String[]> getRequestHeaderValuesMap()
getRequestHeaderValuesMap in class javax.faces.context.ExternalContextpublic Locale getRequestLocale()
getRequestLocale in class javax.faces.context.ExternalContextpublic Iterator<Locale> getRequestLocales()
getRequestLocales in class javax.faces.context.ExternalContextpublic Map<String,Object> getRequestMap()
getRequestMap in class javax.faces.context.ExternalContextpublic Map<String,String> getRequestParameterMap()
getRequestParameterMap in class javax.faces.context.ExternalContextpublic Iterator<String> getRequestParameterNames()
getRequestParameterNames in class javax.faces.context.ExternalContextpublic Map<String,String[]> getRequestParameterValuesMap()
getRequestParameterValuesMap in class javax.faces.context.ExternalContextpublic String getRequestPathInfo()
getRequestPathInfo in class javax.faces.context.ExternalContextpublic String getRequestServletPath()
getRequestServletPath in class javax.faces.context.ExternalContextpublic URL getResource(String path) throws MalformedURLException
getResource in class javax.faces.context.ExternalContextMalformedURLExceptionpublic InputStream getResourceAsStream(String path)
getResourceAsStream in class javax.faces.context.ExternalContextpublic Set<String> getResourcePaths(String path)
getResourcePaths in class javax.faces.context.ExternalContextpublic Object getResponse()
getResponse in class javax.faces.context.ExternalContextpublic Object getSession(boolean create)
getSession in class javax.faces.context.ExternalContextpublic Map<String,Object> getSessionMap()
getSessionMap in class javax.faces.context.ExternalContextpublic Principal getUserPrincipal()
getUserPrincipal in class javax.faces.context.ExternalContextpublic boolean isUserInRole(String role)
isUserInRole in class javax.faces.context.ExternalContextpublic void log(String message)
log in class javax.faces.context.ExternalContextpublic void log(String message, Throwable exception)
log in class javax.faces.context.ExternalContextpublic void redirect(String url) throws IOException
redirect in class javax.faces.context.ExternalContextIOExceptionpublic String getResponseCharacterEncoding()
getResponseCharacterEncoding in class javax.faces.context.ExternalContextpublic String getMimeType(String file)
getMimeType in class javax.faces.context.ExternalContextfile - the full name of fileCopyright © 2015 JBoss by Red Hat. All Rights Reserved.