public enum HttpMessageType extends Enum<HttpMessageType>
HttpMessage types.| Enum Constant and Description |
|---|
CONTENT
Represents
HttpContent. |
FULL_REQUEST
Represents
FullHttpRequest. |
FULL_RESPONSE
Represents
FullHttpResponse. |
LAST_CONTENT
Represents
LastHttpContent. |
REQUEST
Represents
HttpRequest. |
RESPONSE
Represents
HttpResponse. |
| Modifier and Type | Method and Description |
|---|---|
static HttpMessageType |
valueOf(String name)
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.
|
public static final HttpMessageType REQUEST
HttpRequest.
Contains information for:
public static final HttpMessageType FULL_REQUEST
FullHttpRequest.
Contains information for:
public static final HttpMessageType RESPONSE
HttpResponse.
Contains information for:
public static final HttpMessageType FULL_RESPONSE
FullHttpResponse.
Contains information for:
public static final HttpMessageType CONTENT
HttpContent.
Contains information for:
public static final HttpMessageType LAST_CONTENT
LastHttpContent.
Contains information for:
public static HttpMessageType[] values()
for (HttpMessageType c : HttpMessageType.values()) System.out.println(c);
public static HttpMessageType 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