Package org.eclipse.jetty.client
Enum Class HttpSender.SenderState
- All Implemented Interfaces:
Serializable
,Comparable<HttpSender.SenderState>
,Constable
- Enclosing class:
HttpSender
The sender states
HttpSender
goes through when sending a request.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionHttpSender
has finished to send the requestHttpSender
is sending the headers but will wait for 100 Continue before sending the contentHttpSender
is currently sending the headers, will wait for 100 Continue, and deferred content is available to be sentHttpSender
has failed to send the requestHttpSender
is not sending request headers nor request contentHttpSender
is sending the headers, while 100 Continue has arrivedHttpSender
is sending the headers, while 100 Continue has arrived, and deferred content is available to be sentHttpSender
is sending the request header or request contentHttpSender
is currently sending the request, and deferred content is available to be sentHttpSender
has sent the headers and is waiting for 100 Continue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpSender.SenderState
Returns the enum constant of this class with the specified name.static HttpSender.SenderState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IDLE
HttpSender
is not sending request headers nor request content -
SENDING
HttpSender
is sending the request header or request content -
SENDING_WITH_CONTENT
HttpSender
is currently sending the request, and deferred content is available to be sent -
EXPECTING
HttpSender
is sending the headers but will wait for 100 Continue before sending the content -
EXPECTING_WITH_CONTENT
HttpSender
is currently sending the headers, will wait for 100 Continue, and deferred content is available to be sent -
WAITING
HttpSender
has sent the headers and is waiting for 100 Continue -
PROCEEDING
HttpSender
is sending the headers, while 100 Continue has arrived -
PROCEEDING_WITH_CONTENT
HttpSender
is sending the headers, while 100 Continue has arrived, and deferred content is available to be sent -
COMPLETED
HttpSender
has finished to send the request -
FAILED
HttpSender
has failed to send the request
-
-
Constructor Details
-
SenderState
private SenderState()
-
-
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
-