|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RequestEntityProcessing>
org.glassfish.jersey.client.RequestEntityProcessing
public enum RequestEntityProcessing
Defines values for the ClientProperties.REQUEST_ENTITY_PROCESSING property.
| Enum Constant Summary | |
|---|---|
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). |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final RequestEntityProcessing BUFFERED
public static final RequestEntityProcessing CHUNKED
| Method Detail |
|---|
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 name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||