public class MockExternalContext extends javax.faces.context.ExternalContext implements FacesMockController.MockObject
| Constructor and Description |
|---|
MockExternalContext()
Default constructor
|
MockExternalContext(org.easymock.IMocksControl control,
String name) |
public MockExternalContext()
public MockExternalContext(org.easymock.IMocksControl control,
String name)
control - public org.easymock.IMocksControl getControl()
getControl in interface FacesMockController.MockObjectpublic void dispatch(String arg0)
dispatch in class javax.faces.context.ExternalContextpublic void log(String arg0)
log in class javax.faces.context.ExternalContextpublic void log(String arg0, Throwable arg1)
log in class javax.faces.context.ExternalContextpublic InputStream getResourceAsStream(String arg0)
getResourceAsStream in class javax.faces.context.ExternalContextpublic URL getResource(String arg0)
getResource in class javax.faces.context.ExternalContextpublic Object getContext()
getContext in class javax.faces.context.ExternalContextpublic Object getRequest()
getRequest in class javax.faces.context.ExternalContextpublic Object getSession(boolean arg0)
getSession in class javax.faces.context.ExternalContextpublic Principal getUserPrincipal()
getUserPrincipal in class javax.faces.context.ExternalContextpublic boolean isSecure()
isSecure in class javax.faces.context.ExternalContextpublic Object getResponse()
getResponse in class javax.faces.context.ExternalContextpublic void redirect(String arg0)
redirect in class javax.faces.context.ExternalContextpublic void addResponseCookie(String arg0, String arg1, Map arg2)
addResponseCookie in class javax.faces.context.ExternalContextpublic String encodeActionURL(String arg0)
encodeActionURL in class javax.faces.context.ExternalContextpublic String encodeNamespace(String arg0)
encodeNamespace in class javax.faces.context.ExternalContextpublic String encodeResourceURL(String arg0)
encodeResourceURL in class javax.faces.context.ExternalContextpublic Map getApplicationMap()
getApplicationMap in class javax.faces.context.ExternalContextpublic String getAuthType()
getAuthType in class javax.faces.context.ExternalContextpublic javax.faces.context.Flash getFlash()
getFlash in class javax.faces.context.ExternalContextpublic String getMimeType(String arg0)
getMimeType in class javax.faces.context.ExternalContextpublic Map getRequestParameterValuesMap()
getRequestParameterValuesMap in class javax.faces.context.ExternalContextpublic String getRequestPathInfo()
getRequestPathInfo in class javax.faces.context.ExternalContextpublic String getRequestServletPath()
getRequestServletPath in class javax.faces.context.ExternalContextpublic String getRequestCharacterEncoding()
getRequestCharacterEncoding in class javax.faces.context.ExternalContextpublic String getRequestContentType()
getRequestContentType in class javax.faces.context.ExternalContextpublic int getRequestContentLength()
getRequestContentLength in class javax.faces.context.ExternalContextpublic String getResponseCharacterEncoding()
getResponseCharacterEncoding in class javax.faces.context.ExternalContextpublic String getResponseContentType()
getResponseContentType in class javax.faces.context.ExternalContextpublic Set getResourcePaths(String arg0)
getResourcePaths in class javax.faces.context.ExternalContextpublic void setResponse(Object arg0)
setResponse in class javax.faces.context.ExternalContextpublic OutputStream getResponseOutputStream()
getResponseOutputStream in class javax.faces.context.ExternalContextpublic Writer getResponseOutputWriter()
getResponseOutputWriter in class javax.faces.context.ExternalContextpublic void setResponseCharacterEncoding(String arg0)
setResponseCharacterEncoding in class javax.faces.context.ExternalContextpublic void setResponseContentType(String arg0)
setResponseContentType in class javax.faces.context.ExternalContextpublic int getSessionMaxInactiveInterval()
getSessionMaxInactiveInterval in class javax.faces.context.ExternalContextpublic Map getSessionMap()
getSessionMap in class javax.faces.context.ExternalContextpublic void invalidateSession()
invalidateSession in class javax.faces.context.ExternalContextpublic boolean isUserInRole(String arg0)
isUserInRole in class javax.faces.context.ExternalContextpublic void setResponseHeader(String arg0, String arg1)
setResponseHeader in class javax.faces.context.ExternalContextpublic void addResponseHeader(String arg0, String arg1)
addResponseHeader in class javax.faces.context.ExternalContextpublic void setResponseBufferSize(int arg0)
setResponseBufferSize in class javax.faces.context.ExternalContextpublic int getResponseBufferSize()
getResponseBufferSize in class javax.faces.context.ExternalContextpublic boolean isResponseCommitted()
isResponseCommitted in class javax.faces.context.ExternalContextpublic void responseReset()
responseReset in class javax.faces.context.ExternalContextpublic void responseSendError(int arg0,
String arg1)
responseSendError in class javax.faces.context.ExternalContextpublic void setResponseStatus(int arg0)
setResponseStatus in class javax.faces.context.ExternalContextpublic void setSessionMaxInactiveInterval(int arg0)
setSessionMaxInactiveInterval in class javax.faces.context.ExternalContextpublic void responseFlushBuffer()
responseFlushBuffer in class javax.faces.context.ExternalContextpublic void setResponseContentLength(int arg0)
setResponseContentLength in class javax.faces.context.ExternalContextpublic String encodeBookmarkableURL(String arg0, Map arg1)
encodeBookmarkableURL in class javax.faces.context.ExternalContextpublic String encodeRedirectURL(String arg0, Map arg1)
encodeRedirectURL in class javax.faces.context.ExternalContextpublic String encodePartialActionURL(String arg0)
encodePartialActionURL in class javax.faces.context.ExternalContextpublic String getContextName()
getContextName in class javax.faces.context.ExternalContextpublic String getInitParameter(String arg0)
getInitParameter in class javax.faces.context.ExternalContextpublic Map getInitParameterMap()
getInitParameterMap in class javax.faces.context.ExternalContextpublic String getRemoteUser()
getRemoteUser in class javax.faces.context.ExternalContextpublic void setRequest(Object arg0)
setRequest in class javax.faces.context.ExternalContextpublic String getRequestScheme()
getRequestScheme in class javax.faces.context.ExternalContextpublic String getRequestServerName()
getRequestServerName in class javax.faces.context.ExternalContextpublic int getRequestServerPort()
getRequestServerPort in class javax.faces.context.ExternalContextpublic void setRequestCharacterEncoding(String arg0)
setRequestCharacterEncoding in class javax.faces.context.ExternalContextpublic String getRealPath(String arg0)
getRealPath in class javax.faces.context.ExternalContextpublic String getRequestContextPath()
getRequestContextPath in class javax.faces.context.ExternalContextpublic Map getRequestCookieMap()
getRequestCookieMap in class javax.faces.context.ExternalContextpublic Map getRequestHeaderMap()
getRequestHeaderMap in class javax.faces.context.ExternalContextpublic Map getRequestHeaderValuesMap()
getRequestHeaderValuesMap in class javax.faces.context.ExternalContextpublic Locale getRequestLocale()
getRequestLocale in class javax.faces.context.ExternalContextpublic Iterator getRequestLocales()
getRequestLocales in class javax.faces.context.ExternalContextpublic Map getRequestMap()
getRequestMap in class javax.faces.context.ExternalContextpublic Map getRequestParameterMap()
getRequestParameterMap in class javax.faces.context.ExternalContextpublic Iterator getRequestParameterNames()
getRequestParameterNames in class javax.faces.context.ExternalContextCopyright © 2012 JBoss by Red Hat. All Rights Reserved.