public class MockWebServiceMessageSender extends Object implements WebServiceMessageSender
WebServiceMessageSender
. Contains a list of expected MockSenderConnection
s,
and iterates over those.Constructor and Description |
---|
MockWebServiceMessageSender() |
Modifier and Type | Method and Description |
---|---|
org.springframework.ws.test.client.MockSenderConnection |
createConnection(URI uri)
Create a new
WebServiceConnection to the specified URI. |
boolean |
supports(URI uri)
Always returns
true . |
public org.springframework.ws.test.client.MockSenderConnection createConnection(URI uri) throws IOException
WebServiceMessageSender
WebServiceConnection
to the specified URI.createConnection
in interface WebServiceMessageSender
uri
- the URI to open a connection toIOException
- in case of I/O errorspublic boolean supports(URI uri)
true
.supports
in interface WebServiceMessageSender
uri
- the URI to be checkedtrue
if this WebServiceMessageSender
supports the supplied URICopyright © 2020 Pivotal Software. All rights reserved.