public interface IHTTPRequestMessage extends IHTTPMessage
CR, DEFAULT_INITIAL_BUFFER_SIZE, HT, INIT_NUM_HEADERS, LF, SP
Modifier and Type | Method and Description |
---|---|
IBufferRange |
getHTTPVersion()
Gets the HTTP version field of this request message.
|
IBufferRange |
getMethod()
Gets the HTTP method field of this request message.
|
byte[] |
getMethodAsBytes()
Gets the HTTP method field of this request message.
|
String |
getMethodAsString()
Gets the HTTP method field of this request message.
|
String |
getOriginalRequestURIString()
Gets the original request URI field of this request message.
|
IBufferRange |
getRequestURI()
Gets the request URI field of this request message.
|
String |
getRequestURIString()
Gets the request URI field of this request message.
|
boolean |
isConnectionShutdownRequired()
Returns whether the connection for exchanging this request message needs to be shutdown or not.
|
boolean |
isMethodEqualsTo(byte[] method)
Compares the method field of this request message with the specified value.
|
boolean |
isResponseBodyEmpty()
Returns whether the body of this request message is empty or not.
|
void |
setRequestURIString(String newRequestURI)
Sets the request URI field of this request message.
|
addTrailingHeader, getHeader, getHeaderAsBytes, getHeaders, getHTTPVersionAsBytes, getHTTPVersionAsString, getMessageBody, getSerial, getTid, isChunkedEncoding, isConnectionToBeClosed, isHTTPVersion1_1, removeHeader, setChunkedEncoding, setConnectionHeader, setHeader, setTid, write, writeBody
IBufferRange getMethod()
byte[] getMethodAsBytes()
String getMethodAsString()
IBufferRange getRequestURI()
void setRequestURIString(String newRequestURI)
newRequestURI
- request URIString getOriginalRequestURIString()
String getRequestURIString()
IBufferRange getHTTPVersion()
boolean isMethodEqualsTo(byte[] method)
method
- value to compareboolean isResponseBodyEmpty()
boolean isConnectionShutdownRequired()