|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.edg.security.httpclient.GenericResponse
Class used to store various fields of the HTTP response sent by the HTTP server.
Constructor Summary | |
GenericResponse()
|
Method Summary | |
java.io.InputStream |
getBody()
Returns the complete body content of the HTTP response |
java.io.InputStream |
getHeaders()
Returns the headers of the HTTP response |
java.lang.String |
getResultCode()
Returns the Status Code, Reason and HTTP Version of the HTTP response |
protected void |
setBody(java.io.ByteArrayOutputStream totalBody)
|
protected void |
setHeaders(java.io.ByteArrayOutputStream head)
|
protected void |
setResultCode(java.lang.String code)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GenericResponse()
Method Detail |
protected void setResultCode(java.lang.String code)
protected void setHeaders(java.io.ByteArrayOutputStream head)
protected void setBody(java.io.ByteArrayOutputStream totalBody)
public java.lang.String getResultCode()
public java.io.InputStream getHeaders()
public java.io.InputStream getBody()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |