Class ProxyProtocolClientConnectionFactory.V1.Tag

  • All Implemented Interfaces:
    ClientConnectionFactory.Decorator
    Enclosing class:
    ProxyProtocolClientConnectionFactory.V1

    @Deprecated(since="2021-05-27")
    public static class ProxyProtocolClientConnectionFactory.V1.Tag
    extends java.lang.Object
    implements ClientConnectionFactory.Decorator
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.

    PROXY protocol version 1 metadata holder to be used in conjunction with Request.tag(Object).

    Instances of this class are associated to a destination so that all connections of that destination will initiate the communication with the PROXY protocol version 1 bytes specified by this metadata.

    • Constructor Detail

      • Tag

        public Tag()
        Deprecated.

        Creates a Tag whose metadata will be derived from the underlying EndPoint.

      • Tag

        public Tag​(java.lang.String srcIP,
                   int srcPort)
        Deprecated.

        Creates a Tag with the given source metadata.

        The destination metadata will be derived from the underlying EndPoint.

        Parameters:
        srcIP - the source IP address
        srcPort - the source port
      • Tag

        public Tag​(java.lang.String family,
                   java.lang.String srcIP,
                   int srcPort,
                   java.lang.String dstIP,
                   int dstPort)
        Deprecated.

        Creates a Tag with the given metadata.

        Parameters:
        family - the protocol family
        srcIP - the source IP address
        srcPort - the source port
        dstIP - the destination IP address
        dstPort - the destination port
    • Method Detail

      • getFamily

        public java.lang.String getFamily()
        Deprecated.
      • getSourceAddress

        public java.lang.String getSourceAddress()
        Deprecated.
      • getSourcePort

        public int getSourcePort()
        Deprecated.
      • getDestinationAddress

        public java.lang.String getDestinationAddress()
        Deprecated.
      • getDestinationPort

        public int getDestinationPort()
        Deprecated.
      • equals

        public boolean equals​(java.lang.Object obj)
        Deprecated.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class java.lang.Object