public enum HttpLogLevel extends java.lang.Enum<HttpLogLevel>
Enum Constant and Description |
---|
BASIC
Logs request and response lines.
|
BODY
Logs request and response lines as well as their respective headers and bodies if present.
|
HEADERS
Logs request and response lines as well as their respective headers.
|
NONE
No logging.
|
Modifier and Type | Method and Description |
---|---|
static HttpLogLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HttpLogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpLogLevel NONE
public static final HttpLogLevel BASIC
public static final HttpLogLevel HEADERS
public static final HttpLogLevel BODY
public static HttpLogLevel[] values()
for (HttpLogLevel c : HttpLogLevel.values()) System.out.println(c);
public static HttpLogLevel 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