Enum MsgTraceEvent

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

public enum MsgTraceEvent extends Enum<MsgTraceEvent> implements TracingLogger.Event
Common tracing events.
Since:
2.3
  • Enum Constant Details

    • RI_BEFORE

      public static final MsgTraceEvent RI_BEFORE
      ReaderInterceptor invocation before a call to context.proceed().
    • RI_AFTER

      public static final MsgTraceEvent RI_AFTER
      ReaderInterceptor invocation after a call to context.proceed().
    • RI_SUMMARY

      public static final MsgTraceEvent RI_SUMMARY
      ReaderInterceptor invocation summary.
    • MBR_FIND

      public static final MsgTraceEvent MBR_FIND
      MessageBodyReader lookup.
    • MBR_NOT_READABLE

      public static final MsgTraceEvent MBR_NOT_READABLE
      MessageBodyReader.isReadable(Class, Type, Annotation[], MediaType) returned false.
    • MBR_SELECTED

      public static final MsgTraceEvent MBR_SELECTED
      MessageBodyReader selected.
    • MBR_SKIPPED

      public static final MsgTraceEvent MBR_SKIPPED
      MessageBodyReader skipped as higher-priority reader has been selected already.
    • MBR_READ_FROM

      public static final MsgTraceEvent MBR_READ_FROM
      MessageBodyReader.readFrom(Class, Type, Annotation[], MediaType, MultivaluedMap, InputStream) invoked.
    • MBW_FIND

      public static final MsgTraceEvent MBW_FIND
      MessageBodyWriter lookup.
    • MBW_NOT_WRITEABLE

      public static final MsgTraceEvent MBW_NOT_WRITEABLE
      MessageBodyWriter.isWriteable(Class, Type, Annotation[], MediaType) returned false.
    • MBW_SELECTED

      public static final MsgTraceEvent MBW_SELECTED
      MessageBodyWriter.isWriteable(Class, Type, Annotation[], MediaType) selected.
    • MBW_SKIPPED

      public static final MsgTraceEvent MBW_SKIPPED
      MessageBodyWriter skipped as higher-priority writer has been selected already.
    • MBW_WRITE_TO

      public static final MsgTraceEvent MBW_WRITE_TO
      MessageBodyWriter.writeTo(T, Class, Type, Annotation[], MediaType, MultivaluedMap, OutputStream) invoked.
    • WI_BEFORE

      public static final MsgTraceEvent WI_BEFORE
      WriterInterceptor invocation before a call to context.proceed().
    • WI_AFTER

      public static final MsgTraceEvent WI_AFTER
      WriterInterceptor invocation after a call to context.proceed().
    • WI_SUMMARY

      public static final MsgTraceEvent WI_SUMMARY
      ReaderInterceptor invocation summary.
  • Field Details

  • Constructor Details

  • Method Details

    • values

      public static MsgTraceEvent[] 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 MsgTraceEvent 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