public enum RestCallLoggingDetail extends Enum<RestCallLoggingDetail>
Enum Constant and Description |
---|
LONG
Log status lines, headers, and bodies if available.
|
MEDIUM
Log status lines and also headers.
|
SHORT
Log only the request and response status lines.
|
Modifier and Type | Method and Description |
---|---|
static RestCallLoggingDetail |
fromString(String s)
Retrieves this enum using case-insensitive matching.
|
static RestCallLoggingDetail |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestCallLoggingDetail[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestCallLoggingDetail SHORT
public static final RestCallLoggingDetail MEDIUM
public static final RestCallLoggingDetail LONG
public static RestCallLoggingDetail[] values()
for (RestCallLoggingDetail c : RestCallLoggingDetail.values()) System.out.println(c);
public static RestCallLoggingDetail 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 nullpublic static RestCallLoggingDetail fromString(String s)
s
- The enum name to resolve.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.