Class HttpExchange.Response

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

public static final class HttpExchange.Response extends Object
The response that finished the exchange.
  • Constructor Details

    • Response

      public Response(int status, Map<String,List<String>> headers)
      Creates a fully-configured Response instance. Primarily for use by HttpExchangeRepository implementations when recreating a response from a persistent store.
      Parameters:
      status - the status of the response
      headers - the response headers
  • Method Details

    • getStatus

      public int getStatus()
      Return the status code of the response.
      Returns:
      the response status code
    • getHeaders

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