public enum RequestLogProperty extends Enum<RequestLogProperty>
RequestLog, used for identifying properties that have been populated during request
processing.| Modifier and Type | Method and Description |
|---|---|
static Set<RequestLogProperty> |
requestProperties()
Returns the
RequestLogPropertys for requests. |
static Set<RequestLogProperty> |
responseProperties()
Returns the
RequestLogPropertys for responses. |
static RequestLogProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestLogProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestLogProperty REQUEST_START_TIME
public static final RequestLogProperty REQUEST_END_TIME
public static final RequestLogProperty REQUEST_FIRST_BYTES_TRANSFERRED_TIME
public static final RequestLogProperty SESSION
public static final RequestLogProperty SCHEME
public static final RequestLogProperty NAME
public static final RequestLogProperty REQUEST_HEADERS
public static final RequestLogProperty REQUEST_CONTENT
public static final RequestLogProperty REQUEST_CONTENT_PREVIEW
public static final RequestLogProperty REQUEST_TRAILERS
public static final RequestLogProperty REQUEST_LENGTH
public static final RequestLogProperty REQUEST_CAUSE
public static final RequestLogProperty RESPONSE_START_TIME
public static final RequestLogProperty RESPONSE_END_TIME
public static final RequestLogProperty RESPONSE_FIRST_BYTES_TRANSFERRED_TIME
public static final RequestLogProperty RESPONSE_HEADERS
public static final RequestLogProperty RESPONSE_CONTENT
public static final RequestLogProperty RESPONSE_CONTENT_PREVIEW
public static final RequestLogProperty RESPONSE_TRAILERS
public static final RequestLogProperty RESPONSE_LENGTH
public static final RequestLogProperty RESPONSE_CAUSE
public static RequestLogProperty[] values()
for (RequestLogProperty c : RequestLogProperty.values()) System.out.println(c);
public static RequestLogProperty 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 Set<RequestLogProperty> requestProperties()
RequestLogPropertys for requests.public static Set<RequestLogProperty> responseProperties()
RequestLogPropertys for responses.Copyright © 2020 LeanCloud. All rights reserved.