Package reactor.netty.http.logging
Enum HttpMessageType
- All Implemented Interfaces:
Serializable
,Comparable<HttpMessageType>
,java.lang.constant.Constable
Representation of various
HttpMessage
types.- Since:
- 1.0.24
- Author:
- Violeta Georgieva
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresentsHttpContent
.RepresentsFullHttpRequest
.RepresentsFullHttpResponse
.RepresentsLastHttpContent
.RepresentsHttpRequest
.RepresentsHttpResponse
. -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpMessageType
Returns the enum constant of this type with the specified name.static HttpMessageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REQUEST
RepresentsHttpRequest
. Contains information for:- the decoding results
- the request method
- the the request uri
- the protocol version
- the request headers
-
FULL_REQUEST
RepresentsFullHttpRequest
. Contains information for:- the decoding results
- the HTTP content
- the request method
- the the request uri
- the protocol version
- the request headers
- the trailing headers
-
RESPONSE
RepresentsHttpResponse
. Contains information for:- the decoding results
- the protocol version
- the response status
- the request headers
-
FULL_RESPONSE
RepresentsFullHttpResponse
. Contains information for:- the decoding results
- the HTTP content
- the protocol version
- the response status
- the request headers
- the trailing headers
-
CONTENT
RepresentsHttpContent
. Contains information for:- the decoding results
- the HTTP content
-
LAST_CONTENT
RepresentsLastHttpContent
. Contains information for:- the decoding results
- the HTTP content
- the trailing headers
-
-
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
-