org.springframework.ws.test.support.creator
Class PayloadMessageCreator
java.lang.Object
org.springframework.ws.test.support.creator.AbstractMessageCreator
org.springframework.ws.test.support.creator.PayloadMessageCreator
- All Implemented Interfaces:
- WebServiceMessageCreator
public class PayloadMessageCreator
- extends AbstractMessageCreator
Implementation of WebServiceMessageCreator that creates a request based on a Source.
- Since:
- 2.0
- Author:
- Arjen Poutsma
|
Constructor Summary |
PayloadMessageCreator(Source payload)
Creates a new instance of the PayloadMessageCreator with the given payload source. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PayloadMessageCreator
public PayloadMessageCreator(Source payload)
- Creates a new instance of the
PayloadMessageCreator with the given payload source.
- Parameters:
payload - the payload source
doWithMessage
protected void doWithMessage(WebServiceMessage message)
throws IOException
- Description copied from class:
AbstractMessageCreator
- Abstract template method, invoked by
AbstractMessageCreator.createMessage(WebServiceMessageFactory) after a message has been
created.
- Specified by:
doWithMessage in class AbstractMessageCreator
- Parameters:
message - the message
- Throws:
IOException - in case of I/O errors
Copyright © 2012 The Spring Web Services Framework. All Rights Reserved.