Package org.jboss.resteasy.tracing.api
Enum RESTEasyMsgTraceEvent
- java.lang.Object
-
- java.lang.Enum<RESTEasyMsgTraceEvent>
-
- org.jboss.resteasy.tracing.api.RESTEasyMsgTraceEvent
-
- All Implemented Interfaces:
Serializable,Comparable<RESTEasyMsgTraceEvent>,RESTEasyTracingEvent
public enum RESTEasyMsgTraceEvent extends Enum<RESTEasyMsgTraceEvent> implements RESTEasyTracingEvent
Common tracing events.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MBR_FINDMessageBodyReaderlookup.MBR_NOT_READABLEMessageBodyReader.isReadable(java.lang.Class<?>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType)returnedfalse.MBR_READ_FROMMessageBodyReader.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_SELECTEDMessageBodyReaderselected.MBR_SKIPPEDMessageBodyReaderskipped as higher-priority reader has been selected already.MBW_FINDMessageBodyWriterlookup.MBW_NOT_WRITEABLEMessageBodyWriter.isWriteable(java.lang.Class<?>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType)returnedfalse.MBW_SELECTEDMessageBodyWriter.isWriteable(java.lang.Class<?>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType)selected.MBW_SKIPPEDMessageBodyWriterskipped as higher-priority writer has been selected already.MBW_WRITE_TOMessageBodyWriter.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_AFTERReaderInterceptorinvocation after a call tocontext.proceed().RI_BEFOREReaderInterceptorinvocation before a call tocontext.proceed().RI_SUMMARYReaderInterceptorinvocation summary.WI_AFTERWriterInterceptorinvocation after a call tocontext.proceed().WI_BEFOREWriterInterceptorinvocation before a call tocontext.proceed().WI_SUMMARYReaderInterceptorinvocation summary.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcategory()Category of event, more events share same category.RESTEasyTracingLevellevel()Level of event.StringmessageFormat()Message format.static RESTEasyMsgTraceEventvalueOf(String name)Returns the enum constant of this type with the specified name.static RESTEasyMsgTraceEvent[]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 interface org.jboss.resteasy.tracing.api.RESTEasyTracingEvent
name
-
-
-
-
Enum Constant Detail
-
RI_BEFORE
public static final RESTEasyMsgTraceEvent RI_BEFORE
ReaderInterceptorinvocation before a call tocontext.proceed().
-
RI_AFTER
public static final RESTEasyMsgTraceEvent RI_AFTER
ReaderInterceptorinvocation after a call tocontext.proceed().
-
RI_SUMMARY
public static final RESTEasyMsgTraceEvent RI_SUMMARY
ReaderInterceptorinvocation summary.
-
MBR_FIND
public static final RESTEasyMsgTraceEvent MBR_FIND
MessageBodyReaderlookup.
-
MBR_NOT_READABLE
public static final RESTEasyMsgTraceEvent MBR_NOT_READABLE
MessageBodyReader.isReadable(java.lang.Class<?>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType)returnedfalse.
-
MBR_SELECTED
public static final RESTEasyMsgTraceEvent MBR_SELECTED
MessageBodyReaderselected.
-
MBR_SKIPPED
public static final RESTEasyMsgTraceEvent MBR_SKIPPED
MessageBodyReaderskipped as higher-priority reader has been selected already.
-
MBR_READ_FROM
public static final RESTEasyMsgTraceEvent 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 RESTEasyMsgTraceEvent MBW_FIND
MessageBodyWriterlookup.
-
MBW_NOT_WRITEABLE
public static final RESTEasyMsgTraceEvent MBW_NOT_WRITEABLE
MessageBodyWriter.isWriteable(java.lang.Class<?>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType)returnedfalse.
-
MBW_SELECTED
public static final RESTEasyMsgTraceEvent 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 RESTEasyMsgTraceEvent MBW_SKIPPED
MessageBodyWriterskipped as higher-priority writer has been selected already.
-
MBW_WRITE_TO
public static final RESTEasyMsgTraceEvent 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 RESTEasyMsgTraceEvent WI_BEFORE
WriterInterceptorinvocation before a call tocontext.proceed().
-
WI_AFTER
public static final RESTEasyMsgTraceEvent WI_AFTER
WriterInterceptorinvocation after a call tocontext.proceed().
-
WI_SUMMARY
public static final RESTEasyMsgTraceEvent WI_SUMMARY
ReaderInterceptorinvocation summary.
-
-
Method Detail
-
values
public static RESTEasyMsgTraceEvent[] 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 (RESTEasyMsgTraceEvent c : RESTEasyMsgTraceEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RESTEasyMsgTraceEvent 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 nameNullPointerException- if the argument is null
-
category
public String category()
Description copied from interface:RESTEasyTracingEventCategory of event, more events share same category. Is used to format response HTTP header.- Specified by:
categoryin interfaceRESTEasyTracingEvent- Returns:
- event category.
-
level
public RESTEasyTracingLevel level()
Description copied from interface:RESTEasyTracingEventLevel of event. Is used to check if the event is logged according to application/request settings.- Specified by:
levelin interfaceRESTEasyTracingEvent- Returns:
- event trace level.
-
messageFormat
public String messageFormat()
Description copied from interface:RESTEasyTracingEventMessage format. UseString.format(String, Object...)format. Can be null. In that case message arguments are separated by space.- Specified by:
messageFormatin interfaceRESTEasyTracingEvent- Returns:
- message format
-
-