public interface ServerHttpRequest extends HttpRequest, HttpInputMessage
Modifier and Type | Method and Description |
---|---|
java.security.Principal |
getPrincipal()
Return a
Principal instance containing the name of the
authenticated user. |
MultiValueMap<java.lang.String,java.lang.String> |
getQueryParams()
Returns the map of query parameters.
|
java.lang.String |
getRemoteAddress()
Return the IP address of the endpoint on the other end.
|
java.lang.String |
getRemoteHostName()
Return the host name of the endpoint on the other end.
|
getMethod, getURI
getBody
getCookies, getHeaders
MultiValueMap<java.lang.String,java.lang.String> getQueryParams()
java.security.Principal getPrincipal()
Principal
instance containing the name of the
authenticated user. If the user has not been authenticated, the method returns
null
.java.lang.String getRemoteHostName()
java.lang.String getRemoteAddress()