public enum ServerTraceEvent extends Enum<ServerTraceEvent> implements TracingLogger.Event
Enum Constant and Description |
---|
DISPATCH_RESPONSE
Resource method invocation results to JAX-RS
Response . |
EXCEPTION_MAPPING
ExceptionMapper invoked. |
FINISHED
Request processing finished.
|
MATCH_LOCATOR
Matched sub-resource locator method.
|
MATCH_PATH_FIND
Matching path pattern.
|
MATCH_PATH_NOT_MATCHED
Path pattern not matched.
|
MATCH_PATH_SELECTED
Path pattern matched/selected.
|
MATCH_PATH_SKIPPED
Path pattern skipped as higher-priority pattern has been selected already.
|
MATCH_RESOURCE
Matched resource instance.
|
MATCH_RESOURCE_METHOD
Matched resource method.
|
MATCH_RUNTIME_RESOURCE
Matched runtime resource.
|
MATCH_SUMMARY
Matching summary.
|
METHOD_INVOKE
Resource method invoked.
|
PRE_MATCH
PreMatching ContainerRequestFilter invoked. |
PRE_MATCH_SUMMARY
PreMatching ContainerRequestFilter invocation summary. |
REQUEST_FILTER
Global
ContainerRequestFilter invoked. |
REQUEST_FILTER_SUMMARY
Global
ContainerRequestFilter invocation summary. |
RESPONSE_FILTER
ContainerResponseFilter invoked. |
RESPONSE_FILTER_SUMMARY
ContainerResponseFilter invocation summary. |
START
Request processing started.
|
START_HEADERS
All HTTP request headers.
|
Modifier and Type | Method and Description |
---|---|
String |
category()
Category of event, more events share same category.
|
TracingLogger.Level |
level()
Level of event.
|
String |
messageFormat()
Message format.
|
static ServerTraceEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerTraceEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final ServerTraceEvent START
public static final ServerTraceEvent START_HEADERS
public static final ServerTraceEvent PRE_MATCH
PreMatching
ContainerRequestFilter
invoked.public static final ServerTraceEvent PRE_MATCH_SUMMARY
PreMatching
ContainerRequestFilter
invocation summary.public static final ServerTraceEvent MATCH_PATH_FIND
public static final ServerTraceEvent MATCH_PATH_NOT_MATCHED
public static final ServerTraceEvent MATCH_PATH_SELECTED
public static final ServerTraceEvent MATCH_PATH_SKIPPED
public static final ServerTraceEvent MATCH_LOCATOR
public static final ServerTraceEvent MATCH_RESOURCE_METHOD
public static final ServerTraceEvent MATCH_RUNTIME_RESOURCE
public static final ServerTraceEvent MATCH_RESOURCE
public static final ServerTraceEvent MATCH_SUMMARY
public static final ServerTraceEvent REQUEST_FILTER
ContainerRequestFilter
invoked.public static final ServerTraceEvent REQUEST_FILTER_SUMMARY
ContainerRequestFilter
invocation summary.public static final ServerTraceEvent METHOD_INVOKE
public static final ServerTraceEvent DISPATCH_RESPONSE
Response
.public static final ServerTraceEvent RESPONSE_FILTER
ContainerResponseFilter
invoked.public static final ServerTraceEvent RESPONSE_FILTER_SUMMARY
ContainerResponseFilter
invocation summary.public static final ServerTraceEvent FINISHED
public static final ServerTraceEvent EXCEPTION_MAPPING
ExceptionMapper
invoked.public static ServerTraceEvent[] values()
for (ServerTraceEvent c : ServerTraceEvent.values()) System.out.println(c);
public static ServerTraceEvent 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 nullpublic String category()
TracingLogger.Event
category
in interface TracingLogger.Event
public TracingLogger.Level level()
TracingLogger.Event
level
in interface TracingLogger.Event
public String messageFormat()
TracingLogger.Event
String.format(String, Object...)
format.
Can be null. In that case message arguments are separated by space.messageFormat
in interface TracingLogger.Event
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.