Class HttpExchange.Response
java.lang.Object
org.springframework.boot.actuate.web.exchanges.HttpExchange.Response
- Enclosing class:
- HttpExchange
The response that finished the exchange.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Response
Creates a fully-configuredResponse
instance. Primarily for use byHttpExchangeRepository
implementations when recreating a response from a persistent store.- Parameters:
status
- the status of the responseheaders
- the response headers
-
-
Method Details
-
getStatus
public int getStatus()Return the status code of the response.- Returns:
- the response status code
-
getHeaders
Return the response headers.- Returns:
- the headers
-