public static enum ReactiveRequest.Event.Type extends Enum<ReactiveRequest.Event.Type>
| Enum Constant and Description |
|---|
BEGIN
The request is ready to be sent
|
COMMIT
The request headers have been sent
|
CONTENT
A chunk of content has been sent
|
FAILURE
The request failed
|
HEADERS
The request headers have been prepared
|
QUEUED
The request has been queued
|
SUCCESS
The request succeeded
|
| Modifier and Type | Method and Description |
|---|---|
static ReactiveRequest.Event.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReactiveRequest.Event.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReactiveRequest.Event.Type QUEUED
public static final ReactiveRequest.Event.Type BEGIN
public static final ReactiveRequest.Event.Type HEADERS
public static final ReactiveRequest.Event.Type COMMIT
public static final ReactiveRequest.Event.Type CONTENT
public static final ReactiveRequest.Event.Type SUCCESS
public static final ReactiveRequest.Event.Type FAILURE
public static ReactiveRequest.Event.Type[] values()
for (ReactiveRequest.Event.Type c : ReactiveRequest.Event.Type.values()) System.out.println(c);
public static ReactiveRequest.Event.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017–2024 The Jetty Project. All rights reserved.