Enum MsgTraceEvent

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      MBR_FIND
      MessageBodyReader lookup.
      MBR_NOT_READABLE
      MessageBodyReader.isReadable(java.lang.Class<?>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType) returned false.
      MBR_READ_FROM
      MessageBodyReader.readFrom(java.lang.Class<T>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String>, java.io.InputStream) invoked.
      MBR_SELECTED
      MessageBodyReader selected.
      MBR_SKIPPED
      MessageBodyReader skipped as higher-priority reader has been selected already.
      MBW_FIND
      MessageBodyWriter lookup.
      MBW_NOT_WRITEABLE
      MessageBodyWriter.isWriteable(java.lang.Class<?>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType) returned false.
      MBW_SELECTED
      MessageBodyWriter.isWriteable(java.lang.Class<?>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType) selected.
      MBW_SKIPPED
      MessageBodyWriter skipped as higher-priority writer has been selected already.
      MBW_WRITE_TO
      MessageBodyWriter.writeTo(T, java.lang.Class<?>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.Object>, java.io.OutputStream) invoked.
      RI_AFTER
      ReaderInterceptor invocation after a call to context.proceed().
      RI_BEFORE
      ReaderInterceptor invocation before a call to context.proceed().
      RI_SUMMARY
      ReaderInterceptor invocation summary.
      WI_AFTER
      WriterInterceptor invocation after a call to context.proceed().
      WI_BEFORE
      WriterInterceptor invocation before a call to context.proceed().
      WI_SUMMARY
      ReaderInterceptor invocation summary.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private MsgTraceEvent​(TracingLogger.Level level, java.lang.String category, java.lang.String messageFormat)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String category()
      Category of event, more events share same category.
      TracingLogger.Level level()
      Level of event.
      java.lang.String messageFormat()
      Message format.
      static MsgTraceEvent valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static MsgTraceEvent[] 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 class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • 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(java.lang.Class<?>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.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(java.lang.Class<T>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String>, java.io.InputStream) invoked.
      • MBW_FIND

        public static final MsgTraceEvent MBW_FIND
        MessageBodyWriter lookup.
      • MBW_NOT_WRITEABLE

        public static final MsgTraceEvent MBW_NOT_WRITEABLE
        MessageBodyWriter.isWriteable(java.lang.Class<?>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType) returned false.
      • MBW_SELECTED

        public static final MsgTraceEvent MBW_SELECTED
        MessageBodyWriter.isWriteable(java.lang.Class<?>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.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, java.lang.Class<?>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.Object>, java.io.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 Detail

      • category

        private final java.lang.String category
      • messageFormat

        private final java.lang.String messageFormat
    • Constructor Detail

      • MsgTraceEvent

        private MsgTraceEvent​(TracingLogger.Level level,
                              java.lang.String category,
                              java.lang.String messageFormat)
    • Method Detail

      • values

        public static MsgTraceEvent[] 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 (MsgTraceEvent c : MsgTraceEvent.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MsgTraceEvent valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • category

        public java.lang.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.
      • messageFormat

        public java.lang.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