Package org.apache.cxf.ext.logging
Class LoggingInInterceptor
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
-
- org.apache.cxf.ext.logging.AbstractLoggingInterceptor
-
- org.apache.cxf.ext.logging.LoggingInInterceptor
-
- All Implemented Interfaces:
Interceptor<Message>,PhaseInterceptor<Message>
public class LoggingInInterceptor extends AbstractLoggingInterceptor
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.ext.logging.AbstractLoggingInterceptor
CONTENT_SUPPRESSED, DEFAULT_LIMIT, DEFAULT_THRESHOLD, eventMapper, limit, LIVE_LOGGING_PROP, logBinary, logMultipart, maskSensitiveHelper, sender, sensitiveProtocolHeaderNames, threshold
-
-
Constructor Summary
Constructors Constructor Description LoggingInInterceptor()LoggingInInterceptor(PrintWriter writer)LoggingInInterceptor(LogEventSender sender)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<PhaseInterceptor<? extends Message>>getAdditionalInterceptors()Returns a collection of Interceptors that should be added to the chain whenever this interceptor is added.voidhandleMessage(Message message)Intercepts a message.-
Methods inherited from class org.apache.cxf.ext.logging.AbstractLoggingInterceptor
addBinaryContentMediaTypes, addSensitiveElementNames, addSensitiveProtocolHeaderNames, createExchangeId, getInMemThreshold, getLimit, isLoggingDisabledNow, maskSensitiveElements, setInMemThreshold, setLimit, setLogBinary, setLogMultipart, setPrettyLogging, setSensitiveElementNames, setSensitiveProtocolHeaderNames, shouldLogContent, stripBinaryParts, transform
-
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
-
-
-
Constructor Detail
-
LoggingInInterceptor
public LoggingInInterceptor()
-
LoggingInInterceptor
public LoggingInInterceptor(PrintWriter writer)
-
LoggingInInterceptor
public LoggingInInterceptor(LogEventSender sender)
-
-
Method Detail
-
getAdditionalInterceptors
public Collection<PhaseInterceptor<? extends Message>> getAdditionalInterceptors()
Description copied from interface:PhaseInterceptorReturns a collection of Interceptors that should be added to the chain whenever this interceptor is added. May return null.- Specified by:
getAdditionalInterceptorsin interfacePhaseInterceptor<Message>- Overrides:
getAdditionalInterceptorsin classAbstractPhaseInterceptor<Message>- Returns:
- the collection of interceptors
-
handleMessage
public void handleMessage(Message message) throws Fault
Description copied from interface:InterceptorIntercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.- Throws:
Fault
-
-