|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ODataConsumer.Dump> org.odata4j.consumer.ODataConsumer.Dump
public static enum ODataConsumer.Dump
Sends http request and/or response information to standard out. Useful for debugging.
Enum Constant Summary | |
---|---|
INSTANCE
enum-as-singleton pattern |
Method Summary | |
---|---|
void |
all(boolean dump)
Sets whether or not to dump all http request and response information. |
boolean |
requestBody()
Are http request bodies currently dumped? |
void |
requestBody(boolean dump)
Sets whether or not to dump http request bodies. |
boolean |
requestHeaders()
Are http request headers currently dumped? |
void |
requestHeaders(boolean dump)
Sets whether or not to dump http request headers. |
boolean |
responseBody()
Are http response bodies currently dumped? |
void |
responseBody(boolean dump)
Sets whether or not to dump http response bodies. |
boolean |
responseHeaders()
Are http response headers currently dumped? |
void |
responseHeaders(boolean dump)
Sets whether or not to dump http response headers. |
static ODataConsumer.Dump |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ODataConsumer.Dump[] |
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 ODataConsumer.Dump INSTANCE
Method Detail |
---|
public void all(boolean dump)
public boolean requestBody()
public void requestBody(boolean dump)
public boolean requestHeaders()
public void requestHeaders(boolean dump)
public boolean responseBody()
public void responseBody(boolean dump)
public boolean responseHeaders()
public void responseHeaders(boolean dump)
public static ODataConsumer.Dump 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 nullpublic static ODataConsumer.Dump[] values()
for (ODataConsumer.Dump c : ODataConsumer.Dump.values()) System.out.println(c);
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |