com.liferay.util.bridges.jsf.sun
Class LiferayServletContextAdapter
java.lang.Object
javax.faces.context.ExternalContext
com.liferay.util.bridges.jsf.sun.LiferayServletContextAdapter
public class LiferayServletContextAdapter
- extends javax.faces.context.ExternalContext
Fields inherited from class javax.faces.context.ExternalContext |
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
Method Summary |
void |
dispatch(String string)
|
String |
encodeActionURL(String string)
|
String |
encodeNamespace(String string)
|
String |
encodeResourceURL(String string)
|
Map<String,Object> |
getApplicationMap()
|
String |
getAuthType()
|
Object |
getContext()
|
String |
getInitParameter(String string)
|
Map<String,String> |
getInitParameterMap()
|
String |
getRemoteUser()
|
Object |
getRequest()
|
String |
getRequestContextPath()
|
Map<String,Object> |
getRequestCookieMap()
|
Map<String,String> |
getRequestHeaderMap()
|
Map<String,String[]> |
getRequestHeaderValuesMap()
|
Locale |
getRequestLocale()
|
Iterator<Locale> |
getRequestLocales()
|
Map<String,Object> |
getRequestMap()
|
Map<String,String> |
getRequestParameterMap()
|
Iterator<String> |
getRequestParameterNames()
|
Map<String,String[]> |
getRequestParameterValuesMap()
|
String |
getRequestPathInfo()
|
String |
getRequestServletPath()
|
URL |
getResource(String string)
|
InputStream |
getResourceAsStream(String string)
|
Set<String> |
getResourcePaths(String string)
|
Object |
getResponse()
|
Object |
getSession(boolean b)
|
Map<String,Object> |
getSessionMap()
|
Principal |
getUserPrincipal()
|
boolean |
isUserInRole(String string)
|
void |
log(String string)
|
void |
log(String string,
Throwable throwable)
|
void |
redirect(String string)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LiferayServletContextAdapter
public LiferayServletContextAdapter(javax.servlet.ServletContext servletContext)
getApplicationMap
public Map<String,Object> getApplicationMap()
- Specified by:
getApplicationMap
in class javax.faces.context.ExternalContext
getAuthType
public String getAuthType()
- Specified by:
getAuthType
in class javax.faces.context.ExternalContext
getContext
public Object getContext()
- Specified by:
getContext
in class javax.faces.context.ExternalContext
dispatch
public void dispatch(String string)
- Specified by:
dispatch
in class javax.faces.context.ExternalContext
encodeActionURL
public String encodeActionURL(String string)
- Specified by:
encodeActionURL
in class javax.faces.context.ExternalContext
encodeNamespace
public String encodeNamespace(String string)
- Specified by:
encodeNamespace
in class javax.faces.context.ExternalContext
encodeResourceURL
public String encodeResourceURL(String string)
- Specified by:
encodeResourceURL
in class javax.faces.context.ExternalContext
getInitParameter
public String getInitParameter(String string)
- Specified by:
getInitParameter
in class javax.faces.context.ExternalContext
getInitParameterMap
public Map<String,String> getInitParameterMap()
- Specified by:
getInitParameterMap
in class javax.faces.context.ExternalContext
log
public void log(String string)
- Specified by:
log
in class javax.faces.context.ExternalContext
log
public void log(String string,
Throwable throwable)
- Specified by:
log
in class javax.faces.context.ExternalContext
redirect
public void redirect(String string)
- Specified by:
redirect
in class javax.faces.context.ExternalContext
getRemoteUser
public String getRemoteUser()
- Specified by:
getRemoteUser
in class javax.faces.context.ExternalContext
getRequest
public Object getRequest()
- Specified by:
getRequest
in class javax.faces.context.ExternalContext
getRequestContextPath
public String getRequestContextPath()
- Specified by:
getRequestContextPath
in class javax.faces.context.ExternalContext
getRequestCookieMap
public Map<String,Object> getRequestCookieMap()
- Specified by:
getRequestCookieMap
in class javax.faces.context.ExternalContext
getRequestHeaderMap
public Map<String,String> getRequestHeaderMap()
- Specified by:
getRequestHeaderMap
in class javax.faces.context.ExternalContext
getRequestHeaderValuesMap
public Map<String,String[]> getRequestHeaderValuesMap()
- Specified by:
getRequestHeaderValuesMap
in class javax.faces.context.ExternalContext
getRequestLocale
public Locale getRequestLocale()
- Specified by:
getRequestLocale
in class javax.faces.context.ExternalContext
getRequestLocales
public Iterator<Locale> getRequestLocales()
- Specified by:
getRequestLocales
in class javax.faces.context.ExternalContext
getRequestMap
public Map<String,Object> getRequestMap()
- Specified by:
getRequestMap
in class javax.faces.context.ExternalContext
getRequestParameterMap
public Map<String,String> getRequestParameterMap()
- Specified by:
getRequestParameterMap
in class javax.faces.context.ExternalContext
getRequestParameterNames
public Iterator<String> getRequestParameterNames()
- Specified by:
getRequestParameterNames
in class javax.faces.context.ExternalContext
getRequestParameterValuesMap
public Map<String,String[]> getRequestParameterValuesMap()
- Specified by:
getRequestParameterValuesMap
in class javax.faces.context.ExternalContext
getRequestPathInfo
public String getRequestPathInfo()
- Specified by:
getRequestPathInfo
in class javax.faces.context.ExternalContext
getRequestServletPath
public String getRequestServletPath()
- Specified by:
getRequestServletPath
in class javax.faces.context.ExternalContext
getResource
public URL getResource(String string)
- Specified by:
getResource
in class javax.faces.context.ExternalContext
getResourceAsStream
public InputStream getResourceAsStream(String string)
- Specified by:
getResourceAsStream
in class javax.faces.context.ExternalContext
getResourcePaths
public Set<String> getResourcePaths(String string)
- Specified by:
getResourcePaths
in class javax.faces.context.ExternalContext
getResponse
public Object getResponse()
- Specified by:
getResponse
in class javax.faces.context.ExternalContext
getSession
public Object getSession(boolean b)
- Specified by:
getSession
in class javax.faces.context.ExternalContext
getSessionMap
public Map<String,Object> getSessionMap()
- Specified by:
getSessionMap
in class javax.faces.context.ExternalContext
isUserInRole
public boolean isUserInRole(String string)
- Specified by:
isUserInRole
in class javax.faces.context.ExternalContext
getUserPrincipal
public Principal getUserPrincipal()
- Specified by:
getUserPrincipal
in class javax.faces.context.ExternalContext