public interface IHTTPResponseMessage extends IHTTPMessage
Modifier and Type | Field and Description |
---|---|
static byte[] |
EMPTY_BODY |
CR, DEFAULT_INITIAL_BUFFER_SIZE, HT, INIT_NUM_HEADERS, LF, SP
Modifier and Type | Method and Description |
---|---|
byte[] |
getReasonPhraseAsBytes()
Gets the reason phrase of this response message.
|
String |
getReasonPhraseAsString()
Gets the reason phrase of this response message.
|
byte[] |
getStatusCodeAsBytes()
Gets the status code of this response message.
|
String |
getStatusCodeAsString()
Gets the status code of this response message.
|
addTrailingHeader, getHeader, getHeaderAsBytes, getHeaders, getHTTPVersionAsBytes, getHTTPVersionAsString, getMessageBody, getSerial, getTid, isChunkedEncoding, isConnectionToBeClosed, isHTTPVersion1_1, removeHeader, setChunkedEncoding, setConnectionHeader, setHeader, setTid, write, writeBody
String getStatusCodeAsString()
byte[] getStatusCodeAsBytes()
String getReasonPhraseAsString()
byte[] getReasonPhraseAsBytes()