Package org.jboss.resteasy.tracing.api
Enum RESTEasyServerTracingEvent
- java.lang.Object
-
- java.lang.Enum<RESTEasyServerTracingEvent>
-
- org.jboss.resteasy.tracing.api.RESTEasyServerTracingEvent
-
- All Implemented Interfaces:
Serializable,Comparable<RESTEasyServerTracingEvent>,RESTEasyTracingEvent
public enum RESTEasyServerTracingEvent extends Enum<RESTEasyServerTracingEvent> implements RESTEasyTracingEvent
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISPATCH_RESPONSEResource method invocation results to JAX-RSResponse.EXCEPTION_MAPPINGExceptionMapperinvoked.FINISHEDRequest processing finished.MATCH_LOCATORMatched sub-resource locator method.MATCH_PATH_FINDMatching path pattern.MATCH_PATH_NOT_MATCHEDPath pattern not matched.MATCH_PATH_SELECTEDPath pattern matched/selected.MATCH_PATH_SKIPPEDPath pattern skipped as higher-priority pattern has been selected already.MATCH_RESOURCEMatched resource instance.MATCH_RESOURCE_METHODMatched resource method.MATCH_RUNTIME_RESOURCEMatched runtime resource.MATCH_SUMMARYMatching summary.METHOD_INVOKEResource method invoked.PRE_MATCHRESTEasy HttpRequestPreprocessor invoked.PRE_MATCH_SUMMARYRESTEasy HttpRequestPreprocessor invoked.REQUEST_FILTERContainerRequestFilterinvoked.REQUEST_FILTER_SUMMARYContainerRequestFilterinvocation summary.RESPONSE_FILTERContainerResponseFilterinvoked.RESPONSE_FILTER_SUMMARYContainerResponseFilterinvocation summary.STARTRequest processing started.START_HEADERSAll HTTP request headers.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcategory()Category of event, more events share same category.RESTEasyTracingLevellevel()Level of event.StringmessageFormat()Message format.static RESTEasyServerTracingEventvalueOf(String name)Returns the enum constant of this type with the specified name.static RESTEasyServerTracingEvent[]values()Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface org.jboss.resteasy.tracing.api.RESTEasyTracingEvent
name
-
-
-
-
Enum Constant Detail
-
START
public static final RESTEasyServerTracingEvent START
Request processing started.
-
START_HEADERS
public static final RESTEasyServerTracingEvent START_HEADERS
All HTTP request headers.
-
PRE_MATCH
public static final RESTEasyServerTracingEvent PRE_MATCH
RESTEasy HttpRequestPreprocessor invoked.
-
PRE_MATCH_SUMMARY
public static final RESTEasyServerTracingEvent PRE_MATCH_SUMMARY
RESTEasy HttpRequestPreprocessor invoked.
-
MATCH_PATH_FIND
public static final RESTEasyServerTracingEvent MATCH_PATH_FIND
Matching path pattern.
-
MATCH_PATH_NOT_MATCHED
public static final RESTEasyServerTracingEvent MATCH_PATH_NOT_MATCHED
Path pattern not matched.
-
MATCH_PATH_SELECTED
public static final RESTEasyServerTracingEvent MATCH_PATH_SELECTED
Path pattern matched/selected.
-
MATCH_PATH_SKIPPED
public static final RESTEasyServerTracingEvent MATCH_PATH_SKIPPED
Path pattern skipped as higher-priority pattern has been selected already.
-
MATCH_LOCATOR
public static final RESTEasyServerTracingEvent MATCH_LOCATOR
Matched sub-resource locator method.
-
MATCH_RESOURCE_METHOD
public static final RESTEasyServerTracingEvent MATCH_RESOURCE_METHOD
Matched resource method.
-
MATCH_RUNTIME_RESOURCE
public static final RESTEasyServerTracingEvent MATCH_RUNTIME_RESOURCE
Matched runtime resource.
-
MATCH_RESOURCE
public static final RESTEasyServerTracingEvent MATCH_RESOURCE
Matched resource instance.
-
MATCH_SUMMARY
public static final RESTEasyServerTracingEvent MATCH_SUMMARY
Matching summary.
-
REQUEST_FILTER
public static final RESTEasyServerTracingEvent REQUEST_FILTER
ContainerRequestFilterinvoked.
-
REQUEST_FILTER_SUMMARY
public static final RESTEasyServerTracingEvent REQUEST_FILTER_SUMMARY
ContainerRequestFilterinvocation summary.
-
METHOD_INVOKE
public static final RESTEasyServerTracingEvent METHOD_INVOKE
Resource method invoked.
-
DISPATCH_RESPONSE
public static final RESTEasyServerTracingEvent DISPATCH_RESPONSE
Resource method invocation results to JAX-RSResponse.
-
RESPONSE_FILTER
public static final RESTEasyServerTracingEvent RESPONSE_FILTER
ContainerResponseFilterinvoked.
-
RESPONSE_FILTER_SUMMARY
public static final RESTEasyServerTracingEvent RESPONSE_FILTER_SUMMARY
ContainerResponseFilterinvocation summary.
-
FINISHED
public static final RESTEasyServerTracingEvent FINISHED
Request processing finished.
-
EXCEPTION_MAPPING
public static final RESTEasyServerTracingEvent EXCEPTION_MAPPING
ExceptionMapperinvoked.
-
-
Method Detail
-
values
public static RESTEasyServerTracingEvent[] 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 (RESTEasyServerTracingEvent c : RESTEasyServerTracingEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RESTEasyServerTracingEvent 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
-
category
public String category()
Description copied from interface:RESTEasyTracingEventCategory of event, more events share same category. Is used to format response HTTP header.- Specified by:
categoryin interfaceRESTEasyTracingEvent- Returns:
- event category.
-
level
public RESTEasyTracingLevel level()
Description copied from interface:RESTEasyTracingEventLevel of event. Is used to check if the event is logged according to application/request settings.- Specified by:
levelin interfaceRESTEasyTracingEvent- Returns:
- event trace level.
-
messageFormat
public String messageFormat()
Description copied from interface:RESTEasyTracingEventMessage format. UseString.format(String, Object...)format. Can be null. In that case message arguments are separated by space.- Specified by:
messageFormatin interfaceRESTEasyTracingEvent- Returns:
- message format
-
-