public enum HttpLogDetailLevel extends Enum<HttpLogDetailLevel>
Enum Constant and Description |
---|
BASIC
Logs only URLs, HTTP methods, and time to finish the request.
|
BODY
Logs everything in BASIC, plus all the request and response body.
|
BODY_AND_HEADERS
Logs everything in HEADERS and BODY.
|
HEADERS
Logs everything in BASIC, plus all the request and response headers.
|
NONE
Logging is turned off.
|
Modifier and Type | Method and Description |
---|---|
boolean |
shouldLogBody() |
boolean |
shouldLogHeaders() |
boolean |
shouldLogUrl() |
static HttpLogDetailLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpLogDetailLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpLogDetailLevel NONE
public static final HttpLogDetailLevel BASIC
public static final HttpLogDetailLevel HEADERS
public static final HttpLogDetailLevel BODY
public static final HttpLogDetailLevel BODY_AND_HEADERS
public static HttpLogDetailLevel[] values()
public static HttpLogDetailLevel 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 boolean shouldLogUrl()
public boolean shouldLogHeaders()
public boolean shouldLogBody()
Copyright © 2021 Microsoft Corporation. All rights reserved.