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, setLogResponse
createTransformer, getTransformerFactory, newTransformerFactory, setTransformerFactoryClass, transform
protected Source getSource(WebServiceMessage message)
AbstractLoggingInterceptor
Source
for the given WebServiceMessage
.getSource
in class AbstractLoggingInterceptor
message
- the messageCopyright © 2020 Pivotal Software. All rights reserved.