public static enum DebugContext.TracingType extends 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(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(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 © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.