Module io.helidon.media.common
Package io.helidon.media.common
Enum Class MessageBodyContext.EventType
- All Implemented Interfaces:
Serializable
,Comparable<MessageBodyContext.EventType>
,Constable
- Enclosing class:
- MessageBodyContext
Message body content subscription event types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionEmitted afterFlow.Subscriber.onComplete()
.Emitted afterFlow.Subscriber.onError(Throwable)
.Emitted afterFlow.Subscriber.onNext(Object)
.Emitted afterFlow.Subscriber.onSubscribe(Subscription)
.Emitted afterFlow.Subscriber.onComplete()
.Emitted beforeFlow.Subscriber.onError(Throwable)
.Emitted beforeFlow.Subscriber.onNext(Object)
.Emitted beforeFlow.Subscriber.onSubscribe(Subscription)
. -
Method Summary
Modifier and TypeMethodDescriptionstatic MessageBodyContext.EventType
Returns the enum constant of this class with the specified name.static MessageBodyContext.EventType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BEFORE_ONSUBSCRIBE
Emitted beforeFlow.Subscriber.onSubscribe(Subscription)
. -
AFTER_ONSUBSCRIBE
Emitted afterFlow.Subscriber.onSubscribe(Subscription)
. -
BEFORE_ONNEXT
Emitted beforeFlow.Subscriber.onNext(Object)
. -
AFTER_ONNEXT
Emitted afterFlow.Subscriber.onNext(Object)
. -
BEFORE_ONERROR
Emitted beforeFlow.Subscriber.onError(Throwable)
. -
AFTER_ONERROR
Emitted afterFlow.Subscriber.onError(Throwable)
. -
BEFORE_ONCOMPLETE
Emitted afterFlow.Subscriber.onComplete()
. -
AFTER_ONCOMPLETE
Emitted afterFlow.Subscriber.onComplete()
.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-