|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pushtotest.tool.response.ResponseWrapper
com.pushtotest.tool.response.HTTPResponse
public class HTTPResponse
This is the Response interface that should be implemented by any protocol specific response version.
| Field Summary | |
|---|---|
protected java.util.Hashtable |
cookies
|
| Fields inherited from class com.pushtotest.tool.response.ResponseWrapper |
|---|
content, datatime, parameters, parent, responsecode, responseMessage, setuptime, totaltime |
| Constructor Summary | |
|---|---|
HTTPResponse()
|
|
| Method Summary | |
|---|---|
java.util.Hashtable |
getCookies()
Returns an Hashtable containing the cookies received from the host. |
java.lang.String |
id()
Returns an id for this protocol. |
| Methods inherited from class com.pushtotest.tool.response.ResponseWrapper |
|---|
appendParameter, appendParameters, getContent, getContentSize, getDataTime, getParameterKeys, getParameterValue, getParameterValues, getParentProtocol, getResponseCode, getResponseMessage, getSetupTime, getTotalTime, setContent, setDataTime, setParameter, setParameters, setParentProtocol, setResponseCode, setResponseMessage, setSetupTime, setTotalTime, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Hashtable cookies
| Constructor Detail |
|---|
public HTTPResponse()
| Method Detail |
|---|
public java.lang.String id()
id in interface Responseid in class ResponseWrapperpublic java.util.Hashtable getCookies()
cookies = response.getCookies()
for i in cookies.keys():
print "Cookie name=", i, " value=", cookies[i]
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||