Interface TraceableRequest
public interface TraceableRequest
A representation of an HTTP request that is suitable for tracing.- Since:
- 2.0.0
- See Also:
HttpExchangeTracer
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,List<String>>
getHeaders()
Returns a modifiable copy of the headers of the request.String
getMethod()
Returns the method (GET, POST, etc) of the request.String
getRemoteAddress()
Returns the remote address from which the request was sent, if available.URI
getUri()
Returns the URI of the request.
Method Detail
getHeaders
Map<String,List<String>> getHeaders()
Returns a modifiable copy of the headers of the request.- Returns:
- the headers
getRemoteAddress
String getRemoteAddress()
Returns the remote address from which the request was sent, if available.- Returns:
- the remote address or
null