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.
  • Constructor Details

    • Request

      public Request(String method, URI uri, Map<String,List<String>> headers, String remoteAddress)
      Creates a fully-configured Request instance. Primarily for use by HttpTraceRepository implementations when recreating a request from a persistent store.
      Parameters:
      method - the HTTP method of the request
      uri - the URI of the request
      headers - the request headers
      remoteAddress - remote address from which the request was sent, if known
      Since:
      2.1.0
  • Method Details

    • getMethod

      public String getMethod()
    • getUri

      public URI getUri()
    • getHeaders

      public Map<String,List<String>> getHeaders()
    • getRemoteAddress

      public String getRemoteAddress()