|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | POINTCUT | FIELD | CONSTRUCTOR | METHOD | DETAIL: FIELD | POINTCUT | CONSTRUCTOR | METHOD |
java.lang.Object | +--org.apache.cactus.util.AssertUtils
Cactus utility classes to help assert returned results from server side code.
WebResponse
Constructor Summary | |
AssertUtils()
Deprecated. As of Cactus 1.2, replaced by WebResponse |
Method Summary | |
static Hashtable |
getCookies(HttpURLConnection theConnection)
Deprecated. Extract the cookies from a HTTP connection. Affected by: LogAspect |
static String |
getResponseAsString(HttpURLConnection theConnection)
Deprecated. Affected by: LogAspect |
static String[] |
getResponseAsStringArray(HttpURLConnection theConnection)
Deprecated. Affected by: LogAspect |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AssertUtils()
WebResponse
Method Detail |
public static Hashtable getCookies(HttpURLConnection theConnection)
theConnection
- the HTTP connection from which to extract server
returned cookies.
ClientCookie
objects.
around() in LogAspect
.public static String getResponseAsString(HttpURLConnection theConnection)
theConnection
- the connection object used to connect to the server
redirector.
around() in LogAspect
.public static String[] getResponseAsStringArray(HttpURLConnection theConnection)
theConnection
- the connection object used to connect to the server
redirector.
around() in LogAspect
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTRUCTOR | METHOD | DETAIL: FIELD | CONSTRUCTOR | METHOD |