HttpRequest.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private RequestLine | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | BasicHttpRequest(final String
request method. method, final String request URI. uri)Creates an instance of this class using the given request method and URI. |
| public | BasicHttpRequest(final String
request method. method, final String request URI. uri, final ProtocolVersion HTTP protocol version. ver)Creates an instance of this class using the given request method, URI and the HTTP protocol version. |
| public | BasicHttpRequest(final RequestLine
request line. requestline)Creates an instance of this class using the given request line. |
| Modifier and Type | Method and Description |
|---|---|
| public ProtocolVersion | getProtocolVersion()
Implements org. |
| public RequestLine | getRequestLine()
Implements org. |
| public String |
| method | back to summary |
|---|---|
| private final String method | |
| requestline | back to summary |
|---|---|
| private RequestLine requestline | |
| uri | back to summary |
|---|---|
| private final String uri | |
| BasicHttpRequest | back to summary |
|---|---|
| public BasicHttpRequest(final String method, final String uri) Creates an instance of this class using the given request method and URI. | |
| BasicHttpRequest | back to summary |
|---|---|
| public BasicHttpRequest(final String method, final String uri, final ProtocolVersion ver) Creates an instance of this class using the given request method, URI and the HTTP protocol version.
| |
| BasicHttpRequest | back to summary |
|---|---|
| public BasicHttpRequest(final RequestLine requestline) Creates an instance of this class using the given request line.
| |
| getProtocolVersion | back to summary |
|---|---|
| public ProtocolVersion getProtocolVersion() Implements org. Returns the HTTP protocol version to be used for this request.
| |
| getRequestLine | back to summary |
|---|---|
| public RequestLine getRequestLine() Implements org. Returns the request line of this request.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |