|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.context.ExternalContext org.apache.shale.test.mock.MockExternalContext org.apache.shale.test.mock.MockExternalContext12
public class MockExternalContext12
Mock implementation of ExternalContext
that includes the semantics
added by JavaServer Faces 1.2.
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 | |
---|---|
MockExternalContext12(ServletContext context,
HttpServletRequest request,
HttpServletResponse response)
|
Method Summary | |
---|---|
String |
getRequestCharacterEncoding()
|
String |
getRequestContentType()
|
String |
getResponseCharacterEncoding()
|
String |
getResponseContentType()
|
void |
setRequest(Object request)
|
void |
setRequestCharacterEncoding(String encoding)
|
void |
setResponse(Object response)
|
void |
setResponseCharacterEncoding(String encoding)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockExternalContext12(ServletContext context, HttpServletRequest request, HttpServletResponse response)
Method Detail |
---|
public String getRequestCharacterEncoding()
getRequestCharacterEncoding
in class javax.faces.context.ExternalContext
public String getRequestContentType()
getRequestContentType
in class javax.faces.context.ExternalContext
public String getResponseCharacterEncoding()
getResponseCharacterEncoding
in class javax.faces.context.ExternalContext
public String getResponseContentType()
getResponseContentType
in class javax.faces.context.ExternalContext
public void setRequest(Object request)
setRequest
in class javax.faces.context.ExternalContext
public void setRequestCharacterEncoding(String encoding) throws UnsupportedEncodingException
setRequestCharacterEncoding
in class javax.faces.context.ExternalContext
UnsupportedEncodingException
public void setResponse(Object response)
setResponse
in class javax.faces.context.ExternalContext
public void setResponseCharacterEncoding(String encoding)
setResponseCharacterEncoding
in class javax.faces.context.ExternalContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |