public enum HttpServerState extends Enum<HttpServerState> implements ConnectionObserver.State
Transport.observe(ConnectionObserver)
.Enum Constant and Description |
---|
REQUEST_DECODING_FAILED
The request was received but with decoding failures.
|
REQUEST_RECEIVED
The request was received.
|
ACQUIRED, CONFIGURED, CONNECTED, DISCONNECTING, RELEASED
Modifier and Type | Method and Description |
---|---|
static HttpServerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpServerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpServerState REQUEST_RECEIVED
public static final HttpServerState REQUEST_DECODING_FAILED
public static HttpServerState[] values()
for (HttpServerState c : HttpServerState.values()) System.out.println(c);
public static HttpServerState 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 null