Class HttpTrace.Request
- java.lang.Object
- org.springframework.boot.actuate.trace.http.HttpTrace.Request
- Enclosing class:
- HttpTrace
public static final class HttpTrace.Request extends Object
Trace of an HTTP request.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,List<String>>
getHeaders()
String
getMethod()
String
getRemoteAddress()
URI
getUri()
Constructor Detail
Request
public Request(String method, URI uri, Map<String,List<String>> headers, String remoteAddress)
Creates a fully-configuredRequest
instance. Primarily for use byHttpTraceRepository
implementations when recreating a request from a persistent store.- Parameters:
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- Since:
- 2.1.0