public interface ConnectionInformation
Modifier and Type | Method and Description |
---|---|
SocketAddress |
connectionHostAddress()
Returns the address of the host which received the request, possibly
null in case of Unix Domain Sockets. |
SocketAddress |
connectionRemoteAddress()
Returns the address of the client that initiated the request, possibly
null in case of Unix Domain Sockets. |
String |
connectionScheme()
Returns the current protocol scheme.
|
SocketAddress |
hostAddress()
Returns the address of the host which received the request, possibly
null in case of Unix Domain Sockets. |
SocketAddress |
remoteAddress()
Returns the address of the client that initiated the request, possibly
null in case of Unix Domain Sockets. |
String |
scheme()
Returns the current protocol scheme.
|
@Nullable SocketAddress hostAddress()
null
in case of Unix Domain Sockets.
The returned address is the merged information from all proxies.@Nullable SocketAddress connectionHostAddress()
null
in case of Unix Domain Sockets.@Nullable SocketAddress remoteAddress()
null
in case of Unix Domain Sockets.
The returned address is the merged information from all proxies.@Nullable SocketAddress connectionRemoteAddress()
null
in case of Unix Domain Sockets.String scheme()
String connectionScheme()