|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.cactus.util.AssertUtils
Cactus utility classes to help assert returned results from server side code.
Constructor Summary | |
AssertUtils()
|
Method Summary | |
static java.util.Hashtable |
getCookies(java.net.HttpURLConnection theConnection)
Extract the cookies from a HTTP connection. |
static java.lang.String |
getResponseAsString(java.net.HttpURLConnection theConnection)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AssertUtils()
Method Detail |
public static java.lang.String getResponseAsString(java.net.HttpURLConnection theConnection) throws java.io.IOException
theConnection
- the connection object used to connect to the server
redirector.public static java.util.Hashtable getCookies(java.net.HttpURLConnection theConnection)
theConnection
- the HTTP connection from which to extract server
returned cookies.ClientCookie
objects.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |