Interface ProxyProtocolData


public interface ProxyProtocolData
Proxy protocol data parsed by ProxyProtocolHandler.
  • Method Details

    • family

      Family from protocol header.
      Returns:
      family
    • protocol

      Protocol from protocol header.
      Returns:
      protocol
    • sourceAddress

      String sourceAddress()
      Source address that is either IP4 or IP6 depending on family().
      Returns:
      source address or "" if not provided
    • destAddress

      String destAddress()
      Destination address that is either IP4 or IP46 depending on family().
      Returns:
      source address or (@code ""} if not provided
    • sourcePort

      int sourcePort()
      Source port number.
      Returns:
      source port.
    • destPort

      int destPort()
      Destination port number.
      Returns:
      port number.