Spring Web Services Framework

org.springframework.ws.test.client
Interface RequestMatcher


public interface RequestMatcher

Defines the contract for matching requests to expectations.

Since:
2.0
Author:
Arjen Poutsma, Lukas Krecan

Method Summary
 void match(URI uri, WebServiceMessage request)
          Matches the given request message against the expectations.
 

Method Detail

match

void match(URI uri,
           WebServiceMessage request)
           throws IOException,
                  AssertionError
Matches the given request message against the expectations. Implementations typically make use of JUnit-based assertions.

Parameters:
uri - the uri connected to
request - the request message to make assertions on
Throws:
IOException - in case of I/O errors
AssertionError - if expectations are not met

Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.