Package org.apache.cxf.interceptor
Class LoggingInInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.interceptor.AbstractLoggingInterceptor
org.apache.cxf.interceptor.LoggingInInterceptor
- All Implemented Interfaces:
Interceptor<Message>
,PhaseInterceptor<Message>
Deprecated.
use the logging module rt/features/logging instead
A simple logging handler which outputs the bytes of the message to the
Logger.
-
Field Summary
Fields inherited from class org.apache.cxf.interceptor.AbstractLoggingInterceptor
BINARY_CONTENT_MESSAGE, DEFAULT_LIMIT, limit, MULTIPART_CONTENT_MESSAGE, prettyLogging, threshold, writer
-
Constructor Summary
ConstructorDescriptionDeprecated.LoggingInInterceptor
(int lim) Deprecated.Deprecated.LoggingInInterceptor
(String phase) Deprecated.LoggingInInterceptor
(String id, int lim) Deprecated.Deprecated.LoggingInInterceptor
(String id, String phase) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected String
formatLoggingMessage
(LoggingMessage loggingMessage) Deprecated.protected Logger
Deprecated.void
handleMessage
(Message message) Deprecated.Intercepts a message.protected void
Deprecated.protected void
logInputStream
(Message message, InputStream is, LoggingMessage buffer, String encoding, String ct) Deprecated.protected void
logReader
(Message message, Reader reader, LoggingMessage buffer) Deprecated.Methods inherited from class org.apache.cxf.interceptor.AbstractLoggingInterceptor
getBinaryContentMediaTypes, getInMemThreshold, getLimit, getPrintWriter, isBinaryContent, isLoggingDisabledNow, isMultipartContent, isPrettyLogging, isShowBinaryContent, isShowMultipartContent, log, setBinaryContentMediaTypes, setInMemThreshold, setLimit, setOutputLocation, setPrettyLogging, setPrintWriter, setShowBinaryContent, setShowMultipartContent, transform, writePayload, writePayload, writePrettyPayload
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
Constructor Details
-
LoggingInInterceptor
public LoggingInInterceptor()Deprecated. -
LoggingInInterceptor
Deprecated. -
LoggingInInterceptor
Deprecated. -
LoggingInInterceptor
public LoggingInInterceptor(int lim) Deprecated. -
LoggingInInterceptor
Deprecated. -
LoggingInInterceptor
Deprecated. -
LoggingInInterceptor
Deprecated.
-
-
Method Details
-
handleMessage
Deprecated.Description copied from interface:Interceptor
Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this. -
logging
Deprecated. -
logReader
Deprecated. -
logInputStream
protected void logInputStream(Message message, InputStream is, LoggingMessage buffer, String encoding, String ct) Deprecated. -
formatLoggingMessage
Deprecated. -
getLogger
Deprecated.- Specified by:
getLogger
in classAbstractLoggingInterceptor
-