protected static enum HttpSender.RequestState extends Enum<HttpSender.RequestState>
HttpSender
goes through when sending a request.Enum Constant and Description |
---|
BEGIN
The request has been dequeued
|
COMMIT
The request headers (and possibly some content) have been sent
|
CONTENT
The request content is being sent
|
FAILURE
The request is failed
|
HEADERS
The request headers (and possibly some content) is about to be sent
|
QUEUED
The request is queued, the initial state
|
Modifier and Type | Method and Description |
---|---|
static HttpSender.RequestState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpSender.RequestState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpSender.RequestState QUEUED
public static final HttpSender.RequestState BEGIN
public static final HttpSender.RequestState HEADERS
public static final HttpSender.RequestState COMMIT
public static final HttpSender.RequestState CONTENT
public static final HttpSender.RequestState FAILURE
public static HttpSender.RequestState[] values()
for (HttpSender.RequestState c : HttpSender.RequestState.values()) System.out.println(c);
public static HttpSender.RequestState 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 © 1995-2014 Mort Bay Consulting. All Rights Reserved.