Package io.muserver
Interface ProxiedConnectionInfo
-
public interface ProxiedConnectionInfoInformation 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.StringdestinationAddress()The destination address that the proxy setintdestinationPort()The destination portjava.lang.StringsourceAddress()The address of the client that connected to the proxyintsourcePort()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
-
-