public static enum HttpMessage.HasBody extends Enum<HttpMessage.HasBody>
Enum Constant and Description |
---|
FALSE |
IF_CONTENT_LENGTH_OR_TRANSFER_ENCODING |
TRUE |
Modifier and Type | Method and Description |
---|---|
static HttpMessage.HasBody |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMessage.HasBody[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpMessage.HasBody FALSE
public static final HttpMessage.HasBody TRUE
public static final HttpMessage.HasBody IF_CONTENT_LENGTH_OR_TRANSFER_ENCODING
public static HttpMessage.HasBody[] values()
for (HttpMessage.HasBody c : HttpMessage.HasBody.values()) System.out.println(c);
public static HttpMessage.HasBody 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 © 2018 Arno Unkrig. All rights reserved.