public static enum LoggingFeature.Verbosity extends Enum<LoggingFeature.Verbosity>
Verbositydetermines how detailed message will be logged.
HEADERS_ONLY) will log only request/response headers.
Note that the entity is logged up to the maximum number specified in any of the following constructors
LoggingFeature.LoggingFeature(Logger, Level, Verbosity, Integer)
or by some of the feature's properties (see
|Enum Constant and Description|
Only content of HTTP headers is logged.
Full verbose logging.
Content of HTTP headers as well as entity content of textual media types is logged.
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final LoggingFeature.Verbosity HEADERS_ONLY
public static final LoggingFeature.Verbosity PAYLOAD_TEXT
public static final LoggingFeature.Verbosity PAYLOAD_ANY
public static LoggingFeature.Verbosity values()
for (LoggingFeature.Verbosity c : LoggingFeature.Verbosity.values()) System.out.println(c);
public static LoggingFeature.Verbosity valueOf(String name)
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.