public enum LogDetail extends Enum<LogDetail>
| Enum Constant and Description |
|---|
ALL
Logs everything
|
BODY
Log on the body
|
COOKIES
Log only cookies
|
HEADERS
Log only headers
|
PARAMS
Logs only the request parameters (only works for requests)
|
STATUS
Log only the status line (works only for responses).
|
| Modifier and Type | Method and Description |
|---|---|
static LogDetail |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogDetail[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogDetail ALL
public static final LogDetail HEADERS
public static final LogDetail COOKIES
public static final LogDetail BODY
public static final LogDetail STATUS
public static final LogDetail PARAMS
public static LogDetail[] values()
for (LogDetail c : LogDetail.values()) System.out.println(c);
public static LogDetail 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 © 2010–2014. All rights reserved.