Interface ServerHttpRequest
- All Superinterfaces:
- HttpInputMessage, HttpMessage, HttpRequest
- All Known Implementing Classes:
- RequestPartServletServerHttpRequest, ServletServerHttpRequest
Represents a server-side HTTP request.
- Since:
- 3.0
- Author:
- Arjen Poutsma, Rossen Stoyanchev
- 
Method SummaryModifier and TypeMethodDescriptiongetAsyncRequestControl(ServerHttpResponse response) Return a control that allows putting the request in asynchronous mode so the response remains open until closed explicitly from the current or another thread.Return the address on which the request was received.Return aPrincipalinstance containing the name of the authenticated user.Return the address of the remote client.Methods inherited from interface HttpInputMessagegetBodyMethods inherited from interface HttpMessagegetHeadersMethods inherited from interface HttpRequestgetAttributes, getMethod, getURI
- 
Method Details- 
getPrincipal
- 
getLocalAddressInetSocketAddress getLocalAddress()Return the address on which the request was received.
- 
getRemoteAddressInetSocketAddress getRemoteAddress()Return the address of the remote client.
- 
getAsyncRequestControlReturn a control that allows putting the request in asynchronous mode so the response remains open until closed explicitly from the current or another thread.
 
-