Class ClientConnectionTarget.LookupKey

java.lang.Object
io.helidon.webclient.api.ClientConnectionTarget.LookupKey
Enclosing class:
ClientConnectionTarget

public static final class ClientConnectionTarget.LookupKey extends Object
DNS-free identity used to look up a logical WebClient connection target before selecting its proxy route.
  • Method Details

    • currentTlsGeneration

      public boolean currentTlsGeneration()
      Whether this key still represents the current TLS reload generation.
      Returns:
      whether the TLS generation is current
    • altSvcOriginKey

      public ClientConnectionTarget.LookupKey altSvcOriginKey()
      Create the canonical origin identity used for Alt-Svc discovery.

      URI schemes and DNS host names are compared without regard to case. All connection policy, transport, local address, authority, TLS identity, and TLS generation partitions are retained.

      This key is only an Alt-Svc identity. Callers must retain and use the request's original lookup key for routing, physical target creation, and connection-pool identity.

      Returns:
      canonical Alt-Svc origin key
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object