Enum ProtocolState
- All Implemented Interfaces:
Serializable,Comparable<ProtocolState>,java.lang.constant.Constable
State of a request or a response in transport receiver or sender
is represented in these values.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe connection is closedThe connection is closingThe connection is reading the request bodyRequest is completely receivedThe connection is reading the request headersConnection is at the initial stage ready to receive a requestThe connection si reading the response bodyThe response is completedThe connection is reading the response headers -
Method Summary
Modifier and TypeMethodDescriptionstatic ProtocolStateReturns the enum constant of this type with the specified name.static ProtocolState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REQUEST_READY
Connection is at the initial stage ready to receive a request -
REQUEST_HEAD
The connection is reading the request headers -
REQUEST_BODY
The connection is reading the request body -
REQUEST_DONE
Request is completely received -
RESPONSE_HEAD
The connection is reading the response headers -
RESPONSE_BODY
The connection si reading the response body -
RESPONSE_DONE
The response is completed -
CLOSING
The connection is closing -
CLOSED
The connection is closed -
WSDL_RESPONSE_DONE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-