org.springframework.ws.server.endpoint.interceptor
Class PayloadLoggingInterceptor
java.lang.Object
org.springframework.xml.transform.TransformerObjectSupport
org.springframework.ws.server.endpoint.AbstractLoggingInterceptor
org.springframework.ws.server.endpoint.interceptor.PayloadLoggingInterceptor
- All Implemented Interfaces:
- EndpointInterceptor
public class PayloadLoggingInterceptor
- extends AbstractLoggingInterceptor
Simple 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.
- Since:
- 1.0.0
- Author:
- Arjen Poutsma
- See Also:
AbstractLoggingInterceptor.setLogRequest(boolean)
,
AbstractLoggingInterceptor.setLogResponse(boolean)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PayloadLoggingInterceptor
public PayloadLoggingInterceptor()
getSource
protected Source getSource(WebServiceMessage message)
- Description copied from class:
AbstractLoggingInterceptor
- Abstract template method that returns the
Source
for the given WebServiceMessage
.
- Specified by:
getSource
in class AbstractLoggingInterceptor
- Parameters:
message
- the message
- Returns:
- the source of the message
Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.