Package org.jboss.resteasy.tracing.api
Enum Class RESTEasyMsgTraceEvent
- All Implemented Interfaces:
Serializable,Comparable<RESTEasyMsgTraceEvent>,Constable,RESTEasyTracingEvent
public enum RESTEasyMsgTraceEvent
extends Enum<RESTEasyMsgTraceEvent>
implements RESTEasyTracingEvent
Common tracing events.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionjakarta.ws.rs.ext.MessageBodyReaderlookup.jakarta.ws.rs.ext.MessageBodyReader#isReadablereturnedfalse.jakarta.ws.rs.ext.MessageBodyReader#readFrominvoked.jakarta.ws.rs.ext.MessageBodyReaderselected.jakarta.ws.rs.ext.MessageBodyReaderskipped as higher-priority reader has been selected already.jakarta.ws.rs.ext.MessageBodyWriterlookup.jakarta.ws.rs.ext.MessageBodyWriter#isWriteablereturnedfalse.jakarta.ws.rs.ext.MessageBodyWriter#isWriteableselected.jakarta.ws.rs.ext.MessageBodyWriterskipped as higher-priority writer has been selected already.jakarta.ws.rs.ext.MessageBodyWriter#writeToinvoked.jakarta.ws.rs.ext.ReaderInterceptorinvocation after a call tocontext.proceed().jakarta.ws.rs.ext.ReaderInterceptorinvocation before a call tocontext.proceed().jakarta.ws.rs.ext.ReaderInterceptorinvocation summary.jakarta.ws.rs.ext.WriterInterceptorinvocation after a call tocontext.proceed().jakarta.ws.rs.ext.WriterInterceptorinvocation before a call tocontext.proceed().jakarta.ws.rs.ext.ReaderInterceptorinvocation summary. -
Method Summary
Modifier and TypeMethodDescriptioncategory()Category of event, more events share same category.level()Level of event.Message format.static RESTEasyMsgTraceEventReturns the enum constant of this class with the specified name.static RESTEasyMsgTraceEvent[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.jboss.resteasy.tracing.api.RESTEasyTracingEvent
name
-
Enum Constant Details
-
RI_BEFORE
jakarta.ws.rs.ext.ReaderInterceptorinvocation before a call tocontext.proceed(). -
RI_AFTER
jakarta.ws.rs.ext.ReaderInterceptorinvocation after a call tocontext.proceed(). -
RI_SUMMARY
jakarta.ws.rs.ext.ReaderInterceptorinvocation summary. -
MBR_FIND
jakarta.ws.rs.ext.MessageBodyReaderlookup. -
MBR_NOT_READABLE
jakarta.ws.rs.ext.MessageBodyReader#isReadablereturnedfalse. -
MBR_SELECTED
jakarta.ws.rs.ext.MessageBodyReaderselected. -
MBR_SKIPPED
jakarta.ws.rs.ext.MessageBodyReaderskipped as higher-priority reader has been selected already. -
MBR_READ_FROM
jakarta.ws.rs.ext.MessageBodyReader#readFrominvoked. -
MBW_FIND
jakarta.ws.rs.ext.MessageBodyWriterlookup. -
MBW_NOT_WRITEABLE
jakarta.ws.rs.ext.MessageBodyWriter#isWriteablereturnedfalse. -
MBW_SELECTED
jakarta.ws.rs.ext.MessageBodyWriter#isWriteableselected. -
MBW_SKIPPED
jakarta.ws.rs.ext.MessageBodyWriterskipped as higher-priority writer has been selected already. -
MBW_WRITE_TO
jakarta.ws.rs.ext.MessageBodyWriter#writeToinvoked. -
WI_BEFORE
jakarta.ws.rs.ext.WriterInterceptorinvocation before a call tocontext.proceed(). -
WI_AFTER
jakarta.ws.rs.ext.WriterInterceptorinvocation after a call tocontext.proceed(). -
WI_SUMMARY
jakarta.ws.rs.ext.ReaderInterceptorinvocation summary.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
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
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
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
-