Class HttpResponseMessage
java.lang.Object
org.archive.format.http.HttpMessage
org.archive.format.http.HttpResponseMessage
- All Implemented Interfaces:
HttpConstants, HttpResponseMessageObserver
-
Field Summary
Fields inherited from class HttpMessage
bytes, isCorrupt, versionFields inherited from interface HttpConstants
COLON, CR, CRLF, HTAB, LF, METHOD_CONNECT, METHOD_CONNECT_STRING, METHOD_DELETE, METHOD_DELETE_STRING, METHOD_GET, METHOD_GET_STRING, METHOD_HEAD, METHOD_HEAD_STRING, METHOD_POST, METHOD_POST_STRING, METHOD_PUT, METHOD_PUT_STRING, METHOD_TRACE, METHOD_TRACE_STRING, METHOD_UNK, METHOD_UNK_STRING, REASON_UNK, SP, STATUS_UNK, UTF8, VERSION_0, VERSION_0_STATUS, VERSION_1, VERSION_1_STATUS, VERSION_1_UNK, VERSION_9, VERSION_9_STATUS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidmessageParsed(int version, int status, String reason, int bytes) toString()Methods inherited from class HttpMessage
getLength, getVersion, getVersionString, isCorrupt, messageCorruptMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface HttpResponseMessageObserver
messageCorrupt
-
Constructor Details
-
HttpResponseMessage
public HttpResponseMessage() -
HttpResponseMessage
-
-
Method Details
-
getStatus
public int getStatus() -
getReason
-
toString
-
toDebugString
-
messageParsed
- Specified by:
messageParsedin interfaceHttpResponseMessageObserver
-