|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | POINTCUT | FIELD | CONSTRUCTOR | METHOD | DETAIL: FIELD | POINTCUT | CONSTRUCTOR | METHOD |
java.lang.Object | +--org.apache.cactus.WebRequest
Contains all HTTP request data for a test case. It is the data that
will be sent to the server redirector and that will be available to the test
methods through the HttpServletRequest
object.
Namely, it is :
HttpServletRequest.getParameters()
,HttpServletRequest.getCookies()
,HttpServletRequest.getHeader(), getHeaders(),
...
APIs,HttpServletRequest.getRequestURI(), ...
Field Summary | |
static String |
GET_METHOD
GET Method identifier. |
static String |
POST_METHOD
POST Method identifier. |
Constructor Summary | |
WebRequest()
|
Method Summary | |
void |
addCookie(String theName,
String theValue)
Affected by: LogAspect |
void |
addCookie(String theDomain,
String theName,
String theValue)
Affected by: LogAspect |
void |
addCookie(Cookie theCookie)
Affected by: LogAspect |
void |
addHeader(String theName,
String theValue)
Affected by: LogAspect |
void |
addParameter(String theName,
String theValue,
String theMethod)
Affected by: LogAspect |
void |
addParameter(String theName,
String theValue)
Affected by: LogAspect |
AbstractAuthentication |
getAuthentication()
|
boolean |
getAutomaticSession()
|
String |
getContentType()
|
Vector |
getCookies()
|
String |
getHeader(String theName)
Affected by: LogAspect |
Enumeration |
getHeaderNames()
|
String[] |
getHeaderValues(String theName)
Affected by: LogAspect |
String |
getParameterGet(String theName)
Affected by: LogAspect |
Enumeration |
getParameterNamesGet()
|
Enumeration |
getParameterNamesPost()
|
String |
getParameterPost(String theName)
Affected by: LogAspect |
String[] |
getParameterValuesGet(String theName)
Affected by: LogAspect |
String[] |
getParameterValuesPost(String theName)
Affected by: LogAspect |
String |
getRedirectorName()
|
ServletURL |
getURL()
|
InputStream |
getUserData()
|
void |
setAuthentication(AbstractAuthentication theAuthenticationObject)
Affected by: LogAspect |
void |
setAutomaticSession(boolean isAutomaticSession)
Affected by: LogAspect |
void |
setContentType(String theContentType)
Affected by: LogAspect |
void |
setRedirectorName(String theRedirectorName)
Affected by: LogAspect |
void |
setURL(String theServerName,
String theContextPath,
String theServletPath,
String thePathInfo,
String theQueryString)
Affected by: LogAspect |
void |
setUserData(InputStream theDataStream)
Affected by: LogAspect |
String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String GET_METHOD
public static final String POST_METHOD
Constructor Detail |
public WebRequest()
Method Detail |
public void addCookie(String theName, String theValue)
around() in LogAspect
.public void addCookie(String theDomain, String theName, String theValue)
around() in LogAspect
.public void addCookie(Cookie theCookie)
around() in LogAspect
.public void addHeader(String theName, String theValue)
around() in LogAspect
.public void addParameter(String theName, String theValue, String theMethod)
around() in LogAspect
.public void addParameter(String theName, String theValue)
around() in LogAspect
.public AbstractAuthentication getAuthentication()
public boolean getAutomaticSession()
public String getContentType()
public Vector getCookies()
public String getHeader(String theName)
around() in LogAspect
.public Enumeration getHeaderNames()
public String[] getHeaderValues(String theName)
around() in LogAspect
.public String getParameterGet(String theName)
around() in LogAspect
.public Enumeration getParameterNamesGet()
public Enumeration getParameterNamesPost()
public String getParameterPost(String theName)
around() in LogAspect
.public String[] getParameterValuesGet(String theName)
around() in LogAspect
.public String[] getParameterValuesPost(String theName)
around() in LogAspect
.public String getRedirectorName()
public ServletURL getURL()
public InputStream getUserData()
public void setAuthentication(AbstractAuthentication theAuthenticationObject)
around() in LogAspect
.public void setAutomaticSession(boolean isAutomaticSession)
around() in LogAspect
.public void setContentType(String theContentType)
around() in LogAspect
.public void setRedirectorName(String theRedirectorName)
around() in LogAspect
.public void setURL(String theServerName, String theContextPath, String theServletPath, String thePathInfo, String theQueryString)
around() in LogAspect
.public void setUserData(InputStream theDataStream)
around() in LogAspect
.public String toString()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTRUCTOR | METHOD | DETAIL: FIELD | CONSTRUCTOR | METHOD |