Class HttpExchange.Response
java.lang.Object
org.springframework.boot.actuate.web.exchanges.HttpExchange.Response
- Enclosing class:
HttpExchange
The response that finished the exchange.
- Since:
- 3.0.0
- Author:
- Dave Syer, Andy Wilkinson, Phillip Webb
-
Constructor Summary
Constructors -
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
-