Package org.jboss.resteasy.tracing.api
Class RESTEasyTracingInfo
- java.lang.Object
-
- org.jboss.resteasy.tracing.api.RESTEasyTracingInfo
-
- Direct Known Subclasses:
TextBasedRESTEasyTracingInfo
public abstract class RESTEasyTracingInfo extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static RESTEasyTracingInfoDEFAULTprotected static ServiceLoader<RESTEasyTracingInfo>INSTANCES
-
Constructor Summary
Constructors Constructor Description RESTEasyTracingInfo()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidaddMessage(RESTEasyTracingMessage message)abstract StringformatDuration(long duration)static RESTEasyTracingInfoget(String format)abstract String[]getMessages()abstract booleansupports(RESTEasyTracingInfoFormat format)
-
-
-
Field Detail
-
INSTANCES
protected static final ServiceLoader<RESTEasyTracingInfo> INSTANCES
-
DEFAULT
protected static final RESTEasyTracingInfo DEFAULT
-
-
Method Detail
-
get
public static RESTEasyTracingInfo get(String format)
-
supports
public abstract boolean supports(RESTEasyTracingInfoFormat format)
-
getMessages
public abstract String[] getMessages()
-
addMessage
public abstract void addMessage(RESTEasyTracingMessage message)
-
formatDuration
public abstract String formatDuration(long duration)
-
-