Class HttpExchange.Request

java.lang.Object
org.springframework.boot.actuate.web.exchanges.HttpExchange.Request
Enclosing class:
HttpExchange

public static final class HttpExchange.Request extends Object
The request that started the exchange.
  • Constructor Details

    • Request

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

    • getMethod

      public String getMethod()
      Return the HTTP method requested.
      Returns:
      the HTTP method
    • getUri

      public URI getUri()
      Return the URI requested.
      Returns:
      the URI
    • getHeaders

      public Map<String,List<String>> getHeaders()
      Return the request headers.
      Returns:
      the request headers
    • getRemoteAddress

      public String getRemoteAddress()
      Return the remote address that made the request.
      Returns:
      the remote address