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>
-
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
ConstructorsConstructorDescriptionLoggingInInterceptor(PrintWriter writer) LoggingInInterceptor(LogEventSender sender) -
Method Summary
Modifier and TypeMethodDescriptionCollection<PhaseInterceptor<? extends Message>>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, setSensitiveDataHelper, setSensitiveElementNames, setSensitiveProtocolHeaderNames, shouldLogContent, stripBinaryParts, transformMethods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
Constructor Details
-
LoggingInInterceptor
public LoggingInInterceptor() -
LoggingInInterceptor
-
LoggingInInterceptor
-
-
Method Details
-
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
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
-