public enum RequestLogAvailability extends Enum<RequestLogAvailability>
RequestLog.| Modifier and Type | Method and Description |
|---|---|
static RequestLogAvailability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestLogAvailability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestLogAvailability REQUEST_START
public static final RequestLogAvailability SCHEME
RequestLog.scheme() and RequestLog.serializationFormat() are available,
as well as all the properties mentioned in REQUEST_START.public static final RequestLogAvailability REQUEST_FIRST_BYTES_TRANSFERRED
RequestLog.requestFirstBytesTransferredTimeNanos() is available, as well as all the
properties mentioned in REQUEST_START.public static final RequestLogAvailability REQUEST_HEADERS
RequestLog.requestHeaders() is available, as well as all the properties mentioned in
REQUEST_START.public static final RequestLogAvailability REQUEST_CONTENT
RequestLog.requestContent() is available, as well as all the properties mentioned in
REQUEST_START.public static final RequestLogAvailability REQUEST_END
RequestLog.requestLength(), RequestLog.requestCause() and
RequestLog.requestDurationNanos() are available, as well as all the properties mentioned in
REQUEST_START, SCHEME, REQUEST_HEADERS and REQUEST_CONTENT.public static final RequestLogAvailability RESPONSE_START
RequestLog.responseStartTimeMillis() is available.public static final RequestLogAvailability RESPONSE_FIRST_BYTES_TRANSFERRED
RequestLog.responseFirstBytesTransferredTimeNanos() is available, as well as all the
properties mentioned in RESPONSE_START.public static final RequestLogAvailability RESPONSE_HEADERS
RequestLog.responseHeaders() is available, as well as all the properties mentioned in
RESPONSE_START.public static final RequestLogAvailability RESPONSE_CONTENT
RequestLog.responseContent() is available, as well as all the properties mentioned in
RESPONSE_START.public static final RequestLogAvailability RESPONSE_END
RequestLog.responseLength(), RequestLog.responseCause(),
RequestLog.responseDurationNanos() and RequestLog.totalDurationNanos() are available,
as well as all the properties mentioned in RESPONSE_START, RESPONSE_HEADERS and
RESPONSE_CONTENT.public static final RequestLogAvailability COMPLETE
REQUEST_END and RESPONSE_END are available.
Note that REQUEST_FIRST_BYTES_TRANSFERRED and RESPONSE_FIRST_BYTES_TRANSFERRED
may not be fulfilled if network transfer did not occur.public static RequestLogAvailability[] values()
for (RequestLogAvailability c : RequestLogAvailability.values()) System.out.println(c);
public static RequestLogAvailability 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 nullCopyright © 2020 LeanCloud. All rights reserved.