Enum Class ProxyRoute.Kind

java.lang.Object
java.lang.Enum<ProxyRoute.Kind>
io.helidon.webclient.api.ProxyRoute.Kind
All Implemented Interfaces:
Serializable, Comparable<ProxyRoute.Kind>, Constable
Enclosing class:
ProxyRoute

public static enum ProxyRoute.Kind extends Enum<ProxyRoute.Kind>
Effective route kind.
  • Enum Constant Details

    • DIRECT

      public static final ProxyRoute.Kind DIRECT
      Direct route to the selected target.
    • HTTP_FORWARD

      public static final ProxyRoute.Kind HTTP_FORWARD
      HTTP forward proxy. HTTP/1.1 uses absolute-form request targets.
    • HTTP_TUNNEL

      public static final ProxyRoute.Kind HTTP_TUNNEL
      HTTP CONNECT tunnel. Application protocols use ordinary origin semantics inside the tunnel.
    • SOCKS

      public static final ProxyRoute.Kind SOCKS
      SOCKS proxy route.
  • Method Details

    • values

      public static ProxyRoute.Kind[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ProxyRoute.Kind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null