public static enum DebugContext.TracingType extends java.lang.Enum<DebugContext.TracingType>
| Enum Constant and Description |
|---|
ALL
Tracing headers will be present in all handshake responses.
|
OFF
No tracing headers will be ever sent in handshake response.
|
ON_DEMAND
Tracing headers will be sent in handshake response only if X-Tyrus-Tracing-Accept header is present
in handshake request.
|
| Modifier and Type | Method and Description |
|---|---|
static DebugContext.TracingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DebugContext.TracingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DebugContext.TracingType OFF
public static final DebugContext.TracingType ON_DEMAND
public static final DebugContext.TracingType ALL
public static DebugContext.TracingType[] values()
for (DebugContext.TracingType c : DebugContext.TracingType.values()) System.out.println(c);
public static DebugContext.TracingType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2012–2020 Oracle Corporation. All rights reserved.