Package org.jboss.resteasy.tracing.api
Enum RESTEasyTracingConfig
- java.lang.Object
-
- java.lang.Enum<RESTEasyTracingConfig>
-
- org.jboss.resteasy.tracing.api.RESTEasyTracingConfig
-
- All Implemented Interfaces:
Serializable,Comparable<RESTEasyTracingConfig>
public enum RESTEasyTracingConfig extends Enum<RESTEasyTracingConfig>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RESTEasyTracingConfigvalueOf(String name)Returns the enum constant of this type with the specified name.static RESTEasyTracingConfig[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final RESTEasyTracingConfig OFF
Tracing support is completely disabled.
-
ON_DEMAND
public static final RESTEasyTracingConfig ON_DEMAND
Tracing support is in stand-by mode. Waiting for a request headerRESTEasyTracing.HEADER_ACCEPTexistence.
-
ALL
public static final RESTEasyTracingConfig ALL
Tracing support is enabled for every request.
-
-
Method Detail
-
values
public static RESTEasyTracingConfig[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RESTEasyTracingConfig c : RESTEasyTracingConfig.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RESTEasyTracingConfig valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-