|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mockobjects.MockObject
com.mockobjects.servlet.MockHttpServletRequest
org.apache.turbine.test.EnhancedMockHttpServletRequest
public class EnhancedMockHttpServletRequest
Extension to the basic MockHttpServletRequest to provide some extra parameters required by Turbine.
| Field Summary |
|---|
| Fields inherited from interface javax.servlet.http.HttpServletRequest |
|---|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
| Constructor Summary | |
|---|---|
EnhancedMockHttpServletRequest()
|
|
| Method Summary | |
|---|---|
String |
getCharacterEncoding()
|
Locale |
getLocale()
|
int |
getServerPort()
|
| Methods inherited from class com.mockobjects.servlet.MockHttpServletRequest |
|---|
addExpectedGetAttributeName, addExpectedSetAttribute, getAttribute, getAttributeNames, getAuthType, getContentLength, getContentType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getInputStream, getIntHeader, getLocales, getMethod, getParameter, getParameterMap, getParameterNames, getParameterValues, getPathInfo, getPathTranslated, getProtocol, getQueryString, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemoteUser, getRequestDispatcher, getRequestedSessionId, getRequestURI, getRequestURL, getScheme, getServerName, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSecure, isUserInRole, removeAttribute, setAttribute, setCharacterEncoding, setContentType, setExpectedContentType, setExpectedCreateSession, setExpectedRequestDispatcherURI, setSession, setupAddHeader, setupAddParameter, setupAddParameter, setupGetAttribute, setupGetAttrubuteNames, setupGetContentType, setupGetContextPath, setupGetInputStream, setupGetMethod, setupGetParameterMap, setupGetParameterNames, setupGetProtocol, setupGetReader, setupGetRemoteAddr, setupGetRequestDispatcher, setupGetRequestURI, setupGetServletPath, setupGetUserPrincipal, setupPathInfo, setupQueryString, setupRemoveAttribute, setupScheme, setupServerName |
| Methods inherited from class com.mockobjects.MockObject |
|---|
assertEquals, assertEquals, assertTrue, fail, notImplemented, notYetImplemented, notYetImplemented, verify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.ServletRequest |
|---|
getLocalAddr, getLocalName, getLocalPort, getRemotePort |
| Constructor Detail |
|---|
public EnhancedMockHttpServletRequest()
| Method Detail |
|---|
public String getCharacterEncoding()
getCharacterEncoding in interface javax.servlet.ServletRequestgetCharacterEncoding in class com.mockobjects.servlet.MockHttpServletRequestMockHttpServletRequest.getCharacterEncoding()public int getServerPort()
getServerPort in interface javax.servlet.ServletRequestgetServerPort in class com.mockobjects.servlet.MockHttpServletRequestMockHttpServletRequest.getServerPort()public Locale getLocale()
getLocale in interface javax.servlet.ServletRequestgetLocale in class com.mockobjects.servlet.MockHttpServletRequestMockHttpServletRequest.getLocale()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||