Enum ServerTraceEvent

java.lang.Object
java.lang.Enum<ServerTraceEvent>
org.glassfish.jersey.server.internal.ServerTraceEvent
All Implemented Interfaces:
Serializable, Comparable<ServerTraceEvent>, java.lang.constant.Constable, TracingLogger.Event

public enum ServerTraceEvent extends Enum<ServerTraceEvent> implements TracingLogger.Event
Server side tracing events.
Since:
2.3
  • Enum Constant Details

    • START

      public static final ServerTraceEvent START
      Request processing started.
    • START_HEADERS

      public static final ServerTraceEvent START_HEADERS
      All HTTP request headers.
    • PRE_MATCH

      public static final ServerTraceEvent PRE_MATCH
      PreMatching ContainerRequestFilter invoked.
    • PRE_MATCH_SUMMARY

      public static final ServerTraceEvent PRE_MATCH_SUMMARY
      PreMatching ContainerRequestFilter invocation summary.
    • MATCH_PATH_FIND

      public static final ServerTraceEvent MATCH_PATH_FIND
      Matching path pattern.
    • MATCH_PATH_NOT_MATCHED

      public static final ServerTraceEvent MATCH_PATH_NOT_MATCHED
      Path pattern not matched.
    • MATCH_PATH_SELECTED

      public static final ServerTraceEvent MATCH_PATH_SELECTED
      Path pattern matched/selected.
    • MATCH_PATH_SKIPPED

      public static final ServerTraceEvent MATCH_PATH_SKIPPED
      Path pattern skipped as higher-priority pattern has been selected already.
    • MATCH_LOCATOR

      public static final ServerTraceEvent MATCH_LOCATOR
      Matched sub-resource locator method.
    • MATCH_RESOURCE_METHOD

      public static final ServerTraceEvent MATCH_RESOURCE_METHOD
      Matched resource method.
    • MATCH_RUNTIME_RESOURCE

      public static final ServerTraceEvent MATCH_RUNTIME_RESOURCE
      Matched runtime resource.
    • MATCH_RESOURCE

      public static final ServerTraceEvent MATCH_RESOURCE
      Matched resource instance.
    • MATCH_SUMMARY

      public static final ServerTraceEvent MATCH_SUMMARY
      Matching summary.
    • REQUEST_FILTER

      public static final ServerTraceEvent REQUEST_FILTER
      Global ContainerRequestFilter invoked.
    • REQUEST_FILTER_SUMMARY

      public static final ServerTraceEvent REQUEST_FILTER_SUMMARY
      Global ContainerRequestFilter invocation summary.
    • METHOD_INVOKE

      public static final ServerTraceEvent METHOD_INVOKE
      Resource method invoked.
    • DISPATCH_RESPONSE

      public static final ServerTraceEvent DISPATCH_RESPONSE
      Resource method invocation results to JAX-RS Response.
    • RESPONSE_FILTER

      public static final ServerTraceEvent RESPONSE_FILTER
      ContainerResponseFilter invoked.
    • RESPONSE_FILTER_SUMMARY

      public static final ServerTraceEvent RESPONSE_FILTER_SUMMARY
      ContainerResponseFilter invocation summary.
    • FINISHED

      public static final ServerTraceEvent FINISHED
      Request processing finished.
    • EXCEPTION_MAPPING

      public static final ServerTraceEvent EXCEPTION_MAPPING
      ExceptionMapper invoked.
  • Field Details

  • Constructor Details

  • Method Details

    • values

      public static ServerTraceEvent[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ServerTraceEvent 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 name
      NullPointerException - if the argument is null
    • category

      public String category()
      Description copied from interface: TracingLogger.Event
      Category of event, more events share same category. Is used to format response HTTP header.
      Specified by:
      category in interface TracingLogger.Event
      Returns:
      event category.
    • level

      public TracingLogger.Level level()
      Description copied from interface: TracingLogger.Event
      Level of event. Is used to check if the event is logged according to application/request settings.
      Specified by:
      level in interface TracingLogger.Event
      Returns:
      event trace level.
    • messageFormat

      public String messageFormat()
      Description copied from interface: TracingLogger.Event
      Message format. Use String.format(String, Object...) format. Can be null. In that case message arguments are separated by space.
      Specified by:
      messageFormat in interface TracingLogger.Event
      Returns:
      message format