Save This Page
Home » mojarra-1.2_09-b02-FCS-source » com.sun.faces.context » [javadoc | source]
com.sun.faces.context
public class: ExternalContextImpl [javadoc | source]
java.lang.Object
   javax.faces.context.ExternalContext
      com.sun.faces.context.ExternalContextImpl

This implementation of ExternalContext is specific to the servlet implementation.

Field Summary
static final  Class theUnmodifiableMapClass     
Constructor:
 public ExternalContextImpl(ServletContext sc,
    ServletRequest request,
    ServletResponse response) 
Method from com.sun.faces.context.ExternalContextImpl Summary:
dispatch,   encodeActionURL,   encodeNamespace,   encodeResourceURL,   encodeURL,   getApplicationMap,   getAuthType,   getContext,   getInitParameter,   getInitParameterMap,   getRemoteUser,   getRequest,   getRequestCharacterEncoding,   getRequestContentType,   getRequestContextPath,   getRequestCookieMap,   getRequestCookies,   getRequestHeaderMap,   getRequestHeaderValuesMap,   getRequestLocale,   getRequestLocales,   getRequestMap,   getRequestParameterMap,   getRequestParameterNames,   getRequestParameterValuesMap,   getRequestPathInfo,   getRequestServletPath,   getResource,   getResourceAsStream,   getResourcePaths,   getResponse,   getResponseCharacterEncoding,   getResponseContentType,   getSession,   getSessionMap,   getUserPrincipal,   isUserInRole,   log,   log,   redirect,   setRequest,   setRequestCharacterEncoding,   setResponse,   setResponseCharacterEncoding
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.faces.context.ExternalContextImpl Detail:
 public  void dispatch(String requestURI) throws IOException, FacesException 
 public String encodeActionURL(String sb) 

    Force any URL that causes an action to work within a portal/portlet. This causes the URL to have the required redirection for the specific portal to be included

 public String encodeNamespace(String aValue) 
 public String encodeResourceURL(String sb) 

    Force any URL that references a resource to work within a portal/portlet. This causes the URL to have the required redirection for the specific portal to be included. In reality, it simply returns an absolute URL.

 public String encodeURL(String url) 
 public Map getApplicationMap() 
 public String getAuthType() 
 public Object getContext() 
 public String getInitParameter(String name) 

    Manage attributes associated with the ServletContext instance associated with the current request.

 public Map getInitParameterMap() 
 public String getRemoteUser() 
 public Object getRequest() 
 public String getRequestCharacterEncoding() 
 public String getRequestContentType() 
 public String getRequestContextPath() 
 public Map getRequestCookieMap() 
 public Cookie[] getRequestCookies() 
 public Map getRequestHeaderMap() 
 public Map getRequestHeaderValuesMap() 
 public Locale getRequestLocale() 
 public Iterator getRequestLocales() 
 public Map getRequestMap() 
 public Map getRequestParameterMap() 
 public Iterator getRequestParameterNames() 
 public Map getRequestParameterValuesMap() 
 public String getRequestPathInfo() 
 public String getRequestServletPath() 
 public URL getResource(String path) 
 public InputStream getResourceAsStream(String path) 
 public Set getResourcePaths(String path) 
 public Object getResponse() 
 public String getResponseCharacterEncoding() 
 public String getResponseContentType() 
 public Object getSession(boolean create) 
 public Map getSessionMap() 
 public Principal getUserPrincipal() 
 public boolean isUserInRole(String role) 
 public  void log(String message) 
 public  void log(String message,
    Throwable throwable) 
 public  void redirect(String requestURI) throws IOException 
 public  void setRequest(Object request) 
 public  void setRequestCharacterEncoding(String encoding) throws UnsupportedEncodingException 
 public  void setResponse(Object response) 
 public  void setResponseCharacterEncoding(String encoding)