Enum Class Http1UpgradeResult.Kind

java.lang.Object
java.lang.Enum<Http1UpgradeResult.Kind>
io.helidon.webserver.http1.spi.Http1UpgradeResult.Kind
All Implemented Interfaces:
Serializable, Comparable<Http1UpgradeResult.Kind>, Constable
Enclosing class:
Http1UpgradeResult

public static enum Http1UpgradeResult.Kind extends Enum<Http1UpgradeResult.Kind>
Routed upgrade result kind.
  • Enum Constant Details

    • UPGRADED

      public static final Http1UpgradeResult.Kind UPGRADED
      Protocol upgrade completed and returned a new connection.
    • RESPONDED

      public static final Http1UpgradeResult.Kind RESPONDED
      HTTP response was sent and no protocol switch should happen.
    • NOT_APPLICABLE

      public static final Http1UpgradeResult.Kind NOT_APPLICABLE
      Protocol upgrade did not apply; ordinary HTTP routing should continue.
  • Method Details

    • values

      public static Http1UpgradeResult.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 Http1UpgradeResult.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