Package io.muserver

Interface ProxiedConnectionInfo


  • public interface ProxiedConnectionInfo
    Information about the connection provided by an intermediate proxy using the HA Proxy Protocol.
    • 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