public enum RequestEntityProcessing extends java.lang.Enum<RequestEntityProcessing>
ClientProperties.REQUEST_ENTITY_PROCESSING property.| Enum Constant and Description |
|---|
BUFFERED
Request entity will be buffered in the memory in order to determine content length that
will be send as a Content-Length header in the request.
|
CHUNKED
Entity will be send as chunked encoded (no Content-length is specified, entity is streamed).
|
| Modifier and Type | Method and Description |
|---|---|
static RequestEntityProcessing |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RequestEntityProcessing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestEntityProcessing BUFFERED
public static final RequestEntityProcessing CHUNKED
public static RequestEntityProcessing[] values()
for (RequestEntityProcessing c : RequestEntityProcessing.values()) System.out.println(c);
public static RequestEntityProcessing valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null