Constructor and Description |
---|
Request(String method,
URI uri,
Map<String,List<String>> headers,
String remoteAddress)
Creates a fully-configured
Request instance. |
Modifier and Type | Method and Description |
---|---|
Map<String,List<String>> |
getHeaders() |
String |
getMethod() |
String |
getRemoteAddress() |
URI |
getUri() |
public Request(String method, URI uri, Map<String,List<String>> headers, String remoteAddress)
Request
instance. Primarily for use by
HttpTraceRepository
implementations when recreating a request from a
persistent store.method
- the HTTP method of the requesturi
- the URI of the requestheaders
- the request headersremoteAddress
- remote address from which the request was sent, if known