Package org.keycloak.common
Interface ClientConnection
public interface ClientConnection
Information about the client connection
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Method Details
-
getRemoteAddr
- Returns:
- the IP address as a string if it is available, otherwise null
-
getRemoteHost
- Returns:
- the remote host, which will be an IP address or whatever is provided via proxy headers, if available, otherwise null
-
getRemotePort
default int getRemotePort()- Returns:
- the remote port if it is available, otherwise 0
-
getLocalAddr
- Returns:
- the local IP address as a string if it is available, otherwise null
-
getLocalPort
default int getLocalPort()- Returns:
- the local port if it is available, otherwise 0
-