|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.context.ExternalContext
org.apache.portals.bridges.jsf.PortletExternalContextImpl
JSF 1.0 PRD2, 6.1.1
See MyFaces project for servlet implementation.
Field Summary | |
private Map |
applicationMap
The application map. |
private static String |
INIT_PARAMETER_MAP_ATTRIBUTE
The init parameter map attribute. |
private Map |
initParameterMap
The init parameter map. |
private static org.apache.commons.logging.Log |
log
|
private javax.portlet.PortletContext |
portletContext
The portlet context. |
private javax.portlet.PortletRequest |
portletRequest
The portlet request. |
private javax.portlet.PortletResponse |
portletResponse
The portlet response. |
private Map |
requestCookieMap
The request cookie map. |
private Map |
requestHeaderMap
The request header map. |
private Map |
requestHeaderValuesMap
The request header values map. |
private Map |
requestMap
The request map. |
private Map |
requestParameterMap
The request parameter map. |
private Map |
requestParameterValuesMap
The request parameter values map. |
private String |
requestPathInfo
The request path info. |
private String |
requestServletPath
The request servlet path. |
private Map |
sessionMap
The session map. |
Fields inherited from class javax.faces.context.ExternalContext |
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
Constructor Summary | |
PortletExternalContextImpl(javax.portlet.PortletContext portletContext,
javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final org.apache.commons.logging.Log log
private static final String INIT_PARAMETER_MAP_ATTRIBUTE
private javax.portlet.PortletContext portletContext
private javax.portlet.PortletRequest portletRequest
private javax.portlet.PortletResponse portletResponse
private Map applicationMap
private Map sessionMap
private Map requestMap
private Map requestParameterMap
private Map requestParameterValuesMap
private Map requestHeaderMap
private Map requestHeaderValuesMap
private Map requestCookieMap
private Map initParameterMap
private String requestPathInfo
private String requestServletPath
Constructor Detail |
public PortletExternalContextImpl(javax.portlet.PortletContext portletContext, javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse)
portletContext
- The PortletContext
.portletRequest
- The PortletRequest
.portletResponse
- The PortletResponse
.Method Detail |
public void release()
Reset the member variables.
public Object getSession(boolean create)
ExternalContext.getSession(boolean)
public Object getContext()
ExternalContext.getContext()
public Object getRequest()
ExternalContext.getRequest()
public Object getResponse()
ExternalContext.getResponse()
public Map getApplicationMap()
ExternalContext.getApplicationMap()
public Map getSessionMap()
ExternalContext.getSessionMap()
public Map getRequestMap()
ExternalContext.getRequestMap()
public Map getRequestParameterMap()
ExternalContext.getRequestParameterMap()
public Map getRequestParameterValuesMap()
ExternalContext.getRequestParameterValuesMap()
public Iterator getRequestParameterNames()
ExternalContext.getRequestParameterNames()
public Map getRequestHeaderMap()
ExternalContext.getRequestHeaderMap()
public Map getRequestHeaderValuesMap()
ExternalContext.getRequestHeaderValuesMap()
public Map getRequestCookieMap()
ExternalContext.getRequestCookieMap()
public Locale getRequestLocale()
ExternalContext.getRequestLocale()
public String getRequestPathInfo()
ExternalContext.getRequestPathInfo()
public String getRequestContextPath()
ExternalContext.getRequestContextPath()
public String getInitParameter(String s)
ExternalContext.getInitParameter(java.lang.String)
public Map getInitParameterMap()
ExternalContext.getInitParameterMap()
public Set getResourcePaths(String s)
ExternalContext.getResourcePaths(java.lang.String)
public InputStream getResourceAsStream(String s)
ExternalContext.getResourceAsStream(java.lang.String)
public String encodeActionURL(String s)
ExternalContext.encodeActionURL(java.lang.String)
public String encodeResourceURL(String s)
ExternalContext.encodeResourceURL(java.lang.String)
public String encodeNamespace(String pNamespace)
ExternalContext.encodeNamespace(java.lang.String)
public void dispatch(String requestURI) throws IOException, javax.faces.FacesException
IOException
javax.faces.FacesException
ExternalContext.dispatch(java.lang.String)
public String getRequestServletPath()
ExternalContext.getRequestServletPath()
public String getAuthType()
ExternalContext.getAuthType()
public String getRemoteUser()
ExternalContext.getRemoteUser()
public boolean isUserInRole(String role)
ExternalContext.isUserInRole(java.lang.String)
public Principal getUserPrincipal()
ExternalContext.getUserPrincipal()
public void log(String message)
ExternalContext.log(java.lang.String)
public void log(String message, Throwable t)
ExternalContext.log(java.lang.String, java.lang.Throwable)
public void redirect(String url) throws IOException
IOException
ExternalContext.redirect(java.lang.String)
public Iterator getRequestLocales()
ExternalContext.getRequestLocales()
public URL getResource(String s) throws MalformedURLException
MalformedURLException
ExternalContext.getResource(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |