com.caucho.jsf.context
Class ServletExternalContext

java.lang.Object
  extended by ExternalContext
      extended by com.caucho.jsf.context.ServletExternalContext

public class ServletExternalContext
extends ExternalContext


Method Summary
 void dispatch(java.lang.String path)
           
 java.lang.String encodeActionURL(java.lang.String url)
           
 java.lang.String encodeNamespace(java.lang.String name)
           
 java.lang.String encodeResourceURL(java.lang.String url)
           
 java.util.Map<java.lang.String,java.lang.Object> getApplicationMap()
           
 java.lang.String getAuthType()
           
 java.lang.Object getContext()
           
 java.lang.String getInitParameter(java.lang.String name)
           
 java.util.Map getInitParameterMap()
           
 java.lang.String getRemoteUser()
           
 java.lang.Object getRequest()
           
 java.lang.String getRequestCharacterEncoding()
           
 java.lang.String getRequestContentType()
           
 java.lang.String getRequestContextPath()
           
 java.util.Map<java.lang.String,java.lang.Object> getRequestCookieMap()
           
 java.util.Map<java.lang.String,java.lang.String> getRequestHeaderMap()
           
 java.util.Map<java.lang.String,java.lang.String[]> getRequestHeaderValuesMap()
           
 java.util.Locale getRequestLocale()
           
 java.util.Iterator<java.util.Locale> getRequestLocales()
           
 java.util.Map<java.lang.String,java.lang.Object> getRequestMap()
           
 java.util.Map<java.lang.String,java.lang.String> getRequestParameterMap()
           
 java.util.Iterator<java.lang.String> getRequestParameterNames()
           
 java.util.Map<java.lang.String,java.lang.String[]> getRequestParameterValuesMap()
           
 java.lang.String getRequestPathInfo()
           
 java.lang.String getRequestServletPath()
           
 java.net.URL getResource(java.lang.String path)
           
 java.io.InputStream getResourceAsStream(java.lang.String path)
           
 java.util.Set<java.lang.String> getResourcePaths(java.lang.String path)
           
 java.lang.Object getResponse()
           
 java.lang.String getResponseCharacterEncoding()
           
 java.lang.String getResponseContentType()
           
 java.lang.Object getSession(boolean create)
           
 java.util.Map<java.lang.String,java.lang.Object> getSessionMap()
           
 java.security.Principal getUserPrincipal()
           
 boolean isUserInRole(java.lang.String role)
           
 void log(java.lang.String message)
           
 void log(java.lang.String message, java.lang.Throwable exn)
           
 void redirect(java.lang.String url)
           
 void setRequest(java.lang.Object request)
           
 void setRequestCharacterEncoding(java.lang.String encoding)
           
 void setResponse(java.lang.Object response)
           
 void setResponseCharacterEncoding(java.lang.String encoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

dispatch

public void dispatch(java.lang.String path)
              throws java.io.IOException
Throws:
java.io.IOException

encodeActionURL

public java.lang.String encodeActionURL(java.lang.String url)

encodeNamespace

public java.lang.String encodeNamespace(java.lang.String name)

encodeResourceURL

public java.lang.String encodeResourceURL(java.lang.String url)

getApplicationMap

public java.util.Map<java.lang.String,java.lang.Object> getApplicationMap()

getAuthType

public java.lang.String getAuthType()

getContext

public java.lang.Object getContext()

getInitParameter

public java.lang.String getInitParameter(java.lang.String name)

getInitParameterMap

public java.util.Map getInitParameterMap()

getRemoteUser

public java.lang.String getRemoteUser()

getRequest

public java.lang.Object getRequest()

setRequest

public void setRequest(java.lang.Object request)

setRequestCharacterEncoding

public void setRequestCharacterEncoding(java.lang.String encoding)
                                 throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

getRequestContextPath

public java.lang.String getRequestContextPath()

getRequestCookieMap

public java.util.Map<java.lang.String,java.lang.Object> getRequestCookieMap()

getRequestHeaderMap

public java.util.Map<java.lang.String,java.lang.String> getRequestHeaderMap()

getRequestHeaderValuesMap

public java.util.Map<java.lang.String,java.lang.String[]> getRequestHeaderValuesMap()

getRequestLocale

public java.util.Locale getRequestLocale()

getRequestLocales

public java.util.Iterator<java.util.Locale> getRequestLocales()

getRequestMap

public java.util.Map<java.lang.String,java.lang.Object> getRequestMap()

getRequestParameterMap

public java.util.Map<java.lang.String,java.lang.String> getRequestParameterMap()

getRequestParameterNames

public java.util.Iterator<java.lang.String> getRequestParameterNames()

getRequestParameterValuesMap

public java.util.Map<java.lang.String,java.lang.String[]> getRequestParameterValuesMap()

getRequestPathInfo

public java.lang.String getRequestPathInfo()

getRequestServletPath

public java.lang.String getRequestServletPath()

getRequestCharacterEncoding

public java.lang.String getRequestCharacterEncoding()

getRequestContentType

public java.lang.String getRequestContentType()

getResponseCharacterEncoding

public java.lang.String getResponseCharacterEncoding()

getResponseContentType

public java.lang.String getResponseContentType()

getResource

public java.net.URL getResource(java.lang.String path)
                         throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

getResourceAsStream

public java.io.InputStream getResourceAsStream(java.lang.String path)

getResourcePaths

public java.util.Set<java.lang.String> getResourcePaths(java.lang.String path)

getResponse

public java.lang.Object getResponse()

setResponse

public void setResponse(java.lang.Object response)

setResponseCharacterEncoding

public void setResponseCharacterEncoding(java.lang.String encoding)

getSession

public java.lang.Object getSession(boolean create)

getSessionMap

public java.util.Map<java.lang.String,java.lang.Object> getSessionMap()

getUserPrincipal

public java.security.Principal getUserPrincipal()

isUserInRole

public boolean isUserInRole(java.lang.String role)

log

public void log(java.lang.String message)

log

public void log(java.lang.String message,
                java.lang.Throwable exn)

redirect

public void redirect(java.lang.String url)
              throws java.io.IOException
Throws:
java.io.IOException