public class PayloadLoggingInterceptor extends AbstractLoggingInterceptor
EndpointInterceptor that logs the payload of request
and response messages.
By default, both request and response messages are logged, but this behaviour can be changed using the AbstractLoggingInterceptor.logRequest and AbstractLoggingInterceptor.logResponse properties.
AbstractLoggingInterceptor.setLogRequest(boolean),
AbstractLoggingInterceptor.setLogResponse(boolean)logger| Constructor and Description |
|---|
PayloadLoggingInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected Source |
getSource(WebServiceMessage message)
Abstract template method that returns the
Source for the given WebServiceMessage. |
afterCompletion, handleFault, handleRequest, handleResponse, isLogEnabled, logMessage, logMessageSource, setLoggerName, setLogRequest, setLogResponsecreateTransformer, getTransformerFactory, newTransformerFactory, setTransformerFactoryClass, transformprotected Source getSource(WebServiceMessage message)
AbstractLoggingInterceptorSource for the given WebServiceMessage.getSource in class AbstractLoggingInterceptormessage - the message