public enum MsgTraceEvent extends Enum<MsgTraceEvent> implements TracingLogger.Event
Enum Constant and 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. |
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 MsgTraceEvent |
valueOf(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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final MsgTraceEvent RI_BEFORE
ReaderInterceptor
invocation before a call to context.proceed()
.public static final MsgTraceEvent RI_AFTER
ReaderInterceptor
invocation after a call to context.proceed()
.public static final MsgTraceEvent RI_SUMMARY
ReaderInterceptor
invocation summary.public static final MsgTraceEvent MBR_FIND
MessageBodyReader
lookup.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
.public static final MsgTraceEvent MBR_SELECTED
MessageBodyReader
selected.public static final MsgTraceEvent MBR_SKIPPED
MessageBodyReader
skipped as higher-priority reader has been selected already.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.public static final MsgTraceEvent MBW_FIND
MessageBodyWriter
lookup.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
.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.public static final MsgTraceEvent MBW_SKIPPED
MessageBodyWriter
skipped as higher-priority writer has been selected already.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.public static final MsgTraceEvent WI_BEFORE
WriterInterceptor
invocation before a call to context.proceed()
.public static final MsgTraceEvent WI_AFTER
WriterInterceptor
invocation after a call to context.proceed()
.public static final MsgTraceEvent WI_SUMMARY
ReaderInterceptor
invocation summary.public static MsgTraceEvent[] values()
for (MsgTraceEvent c : MsgTraceEvent.values()) System.out.println(c);
public static MsgTraceEvent 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-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.