Enum Class HttpTransportObserver.StreamOutcome

java.lang.Object
java.lang.Enum<HttpTransportObserver.StreamOutcome>
io.helidon.http.HttpTransportObserver.StreamOutcome
All Implemented Interfaces:
Serializable, Comparable<HttpTransportObserver.StreamOutcome>, Constable
Enclosing interface:
HttpTransportObserver

public static enum HttpTransportObserver.StreamOutcome extends Enum<HttpTransportObserver.StreamOutcome>
Stream termination outcome.

REJECTED takes precedence over RESET when a stream is refused before application processing, including when the refusal is conveyed using reset signaling. RESET applies to other explicit resets, and CANCELLED applies when the stream lifecycle is cancelled without a reset or stream failure.

  • Enum Constant Details

  • Method Details

    • values

      public static HttpTransportObserver.StreamOutcome[] 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 HttpTransportObserver.StreamOutcome 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