org.apache.myfaces.context.servlet
Class ServletExternalContextImplBase
java.lang.Object
javax.faces.context.ExternalContext
org.apache.myfaces.context.servlet.ServletExternalContextImplBase
- All Implemented Interfaces:
- ReleaseableExternalContext
- Direct Known Subclasses:
- StartupServletExternalContextImpl
public abstract class ServletExternalContextImplBase
- extends ExternalContext
- implements ReleaseableExternalContext
Provides a base implementation of the ExternalContext for Servlet
environments. This impl provides all methods which only rely on the
ServletContext and thus are also provided at startup and shutdown.
- Version:
- $Revision: 956589 $ $Date: 2010-06-21 08:43:21 -0500 (Lun, 21 Jun 2010) $
- Author:
- Jakob Korherr (latest modification by $Author: jakobk $)
| Methods inherited from class javax.faces.context.ExternalContext |
dispatch, encodeActionURL, encodeNamespace, encodeResourceURL, getAuthType, getRemoteUser, getRequest, getRequestCharacterEncoding, getRequestContentType, getRequestContextPath, getRequestCookieMap, getRequestHeaderMap, getRequestHeaderValuesMap, getRequestLocale, getRequestLocales, getRequestMap, getRequestParameterMap, getRequestParameterNames, getRequestParameterValuesMap, getRequestPathInfo, getRequestServletPath, getResponse, getResponseCharacterEncoding, getResponseContentType, getSession, getSessionMap, getUserPrincipal, isUserInRole, redirect, setRequest, setRequestCharacterEncoding, setResponse, setResponseCharacterEncoding |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletExternalContextImplBase
public ServletExternalContextImplBase(javax.servlet.ServletContext servletContext)
release
public void release()
- Description copied from interface:
ReleaseableExternalContext
- Release resources that the ExternalContext is holding onto.
- Specified by:
release in interface ReleaseableExternalContext
getApplicationMap
public Map<String,Object> getApplicationMap()
- Specified by:
getApplicationMap in class ExternalContext
getContext
public Object getContext()
- Specified by:
getContext in class ExternalContext
getInitParameter
public String getInitParameter(String s)
- Specified by:
getInitParameter in class ExternalContext
getInitParameterMap
public Map<String,String> getInitParameterMap()
- Specified by:
getInitParameterMap in class ExternalContext
getResource
public URL getResource(String path)
throws MalformedURLException
- Specified by:
getResource in class ExternalContext
- Throws:
MalformedURLException
getResourceAsStream
public InputStream getResourceAsStream(String path)
- Specified by:
getResourceAsStream in class ExternalContext
getResourcePaths
public Set<String> getResourcePaths(String path)
- Specified by:
getResourcePaths in class ExternalContext
log
public void log(String message)
- Specified by:
log in class ExternalContext
log
public void log(String message,
Throwable exception)
- Specified by:
log in class ExternalContext
checkNull
protected void checkNull(Object o,
String param)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.