|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.rsa.certj.provider.pki.HTTPResult
This class represents what is returned from sending a message over HTTP.
Note: Objects that are passed to a constructor or method or returned from a method of this class are shared. No copy is made. It is often advisable to make a copy of the object, before passing it to a constructor or method of this class, or after getting it from a method of this class. Copyright © RSA Security Inc., 1999-2001. All rights reserved.
Constructor Summary |
|
HTTPResult(int status,
String[] headers,
byte[] message)
Constructs an |
Method Summary |
|
String[] |
getHeaders()
Returns a |
byte[] |
getMessage()
Returns a |
int |
getStatus()
Returns an |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HTTPResult(int status, String[] headers, byte[] message)
HTTPResult
object.
The status included in the HTTP status line received is
given in status.
The HTTP headers received is given in headers.
The message body received is given in message.Parameters
status | An | ||
headers | A | ||
message | A |
Method Detail |
public int getStatus()
int
indicating the value of the status
of this object.
Returns
int
indicating the value of the status
of this object.public String[] getHeaders()
String
array indicating the headers of
this object.
Returns
String
array indicating the
headers of this object.public byte[] getMessage()
byte
array indicating the message of
this object.
Returns
byte
array indicating the
message of this object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |