Class HttpExchange.Request
java.lang.Object
org.springframework.boot.actuate.web.exchanges.HttpExchange.Request
- Enclosing class:
HttpExchange
The request that started the exchange.
- Since:
- 3.0.0
- Author:
- Dave Syer, Andy Wilkinson, Phillip Webb
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Request
Creates a fully-configuredRequest
instance. Primarily for use byHttpExchangeRepository
implementations when recreating a request from a persistent store.- Parameters:
uri
- the URI of the requestremoteAddress
- remote address from which the request was sent, if knownmethod
- the HTTP method of the requestheaders
- the request headers
-
-
Method Details
-
getMethod
-
getUri
-
getHeaders
-
getRemoteAddress
Return the remote address that made the request.- Returns:
- the remote address
-