org.apache.myfaces.renderkit.html.util
Class AddResourceTest.CustomMockExternalContext

java.lang.Object
  extended by javax.faces.context.ExternalContext
      extended by org.apache.shale.test.mock.MockExternalContext
          extended by org.apache.myfaces.renderkit.html.util.AddResourceTest.CustomMockExternalContext
Enclosing class:
AddResourceTest

public static class AddResourceTest.CustomMockExternalContext
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
AddResourceTest.CustomMockExternalContext(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
 Map getRequestHeaderMap()
           
 Map getRequestHeaderValuesMap()
           
 
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, 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 javax.faces.context.ExternalContext
getRequestCharacterEncoding, getRequestContentType, getResponseCharacterEncoding, getResponseContentType, setRequest, setRequestCharacterEncoding, setResponse, setResponseCharacterEncoding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddResourceTest.CustomMockExternalContext

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

getRequestHeaderMap

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

getRequestHeaderValuesMap

public Map getRequestHeaderValuesMap()
Overrides:
getRequestHeaderValuesMap in class org.apache.shale.test.mock.MockExternalContext


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