public enum RequestEntityProcessing extends 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(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(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 © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.