Class HttpExchange.Request
java.lang.Object
org.springframework.boot.actuate.web.exchanges.HttpExchange.Request
- Enclosing class:
- HttpExchange
The request that started the exchange.
-
Constructor Summary
-
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
Return the HTTP method requested.- Returns:
- the HTTP method
-
getUri
Return the URI requested.- Returns:
- the URI
-
getHeaders
Return the request headers.- Returns:
- the request headers
-
getRemoteAddress
Return the remote address that made the request.- Returns:
- the remote address
-