public class HttpRequest extends HttpMessage
| Modifier and Type | Field and Description |
|---|---|
private HttpMethod |
method |
private java.lang.String |
uri |
| Constructor and Description |
|---|
HttpRequest(HttpMethod method,
java.lang.String uri) |
| Modifier and Type | Method and Description |
|---|---|
HttpMethod |
getMethod() |
java.lang.String |
getUri() |
addHeader, getAttribute, getContent, getContentString, getHeader, getHeaderNames, getHeaders, removeAttribute, removeHeader, setAttribute, setContent, setHeaderprivate final HttpMethod method
private final java.lang.String uri
public HttpRequest(HttpMethod method, java.lang.String uri)
public java.lang.String getUri()
public HttpMethod getMethod()