Package io.muserver
Interface ProxiedConnectionInfo
-
public interface ProxiedConnectionInfo
Information about the connection provided by an intermediate proxy using the HA Proxy Protocol.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
destinationAddress()
The destination address that the proxy setint
destinationPort()
The destination portjava.lang.String
sourceAddress()
The address of the client that connected to the proxyint
sourcePort()
The port of the client that connected to the proxy
-
-
-
Method Detail
-
sourceAddress
java.lang.String sourceAddress()
The address of the client that connected to the proxy- Returns:
- A human-readable address, or null if none was set
-
sourcePort
int sourcePort()
The port of the client that connected to the proxy- Returns:
- The port of the client that connected to the proxy
-
destinationAddress
java.lang.String destinationAddress()
The destination address that the proxy set- Returns:
- The destination address that the proxy set
-
destinationPort
int destinationPort()
The destination port- Returns:
- a port number
-
-