Enum Class SniMode

java.lang.Object
java.lang.Enum<SniMode>
io.helidon.webclient.api.SniMode
All Implemented Interfaces:
Serializable, Comparable<SniMode>, Constable

public enum SniMode extends Enum<SniMode>
Source of the client-side TLS SNI host.
  • Enum Constant Details

    • URI_HOST

      public static final SniMode URI_HOST
      Use the resolved request URI host.
    • HOST_HEADER

      public static final SniMode HOST_HEADER
      Use the final outbound HTTP authority from the Host header.
    • EXPLICIT

      public static final SniMode EXPLICIT
      Use the explicitly configured SNI host.
    • DISABLED

      public static final SniMode DISABLED
      Clear the SNI server name.
  • Method Details

    • values

      public static SniMode[] 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 SniMode 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