org.apache.myfaces.test.utils
Class MockTestExternalContext

java.lang.Object
  extended by javax.faces.context.ExternalContext
      extended by org.apache.shale.test.mock.MockExternalContext
          extended by org.apache.myfaces.test.utils.MockTestExternalContext

public class MockTestExternalContext
extends org.apache.shale.test.mock.MockExternalContext


Field Summary
 
Fields inherited from class org.apache.shale.test.mock.MockExternalContext
request, response
 
Fields inherited from class javax.faces.context.ExternalContext
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
MockTestExternalContext(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
 java.util.Map getRequestHeaderMap()
           
 
Methods inherited from class org.apache.shale.test.mock.MockExternalContext
addRequestCookieMap, addRequestParameterMap, dispatch, encodeActionURL, encodeNamespace, encodeResourceURL, getApplicationMap, getAuthType, getContext, getInitParameter, getInitParameterMap, getRemoteUser, getRequest, getRequestContextPath, getRequestCookieMap, getRequestHeaderValuesMap, getRequestLocale, getRequestLocales, getRequestMap, getRequestParameterMap, getRequestParameterNames, getRequestParameterValuesMap, getRequestPathInfo, getRequestServletPath, getResource, getResourceAsStream, getResourcePaths, getResponse, getSession, getSessionMap, getUserPrincipal, isUserInRole, log, log, redirect, setRequestCookieMap, setRequestParameterMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockTestExternalContext

public MockTestExternalContext(javax.servlet.ServletContext context,
                               javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response)
Method Detail

getRequestHeaderMap

public java.util.Map getRequestHeaderMap()
Overrides:
getRequestHeaderMap in class org.apache.shale.test.mock.MockExternalContext


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.