Spring Web Services Framework

org.springframework.ws.test.client
Interface ResponseActions


public interface ResponseActions

Allows for setting up responses and additional expectations. Implementations of this interface are returned by MockWebServiceServer.expect(RequestMatcher).

Since:
2.0
Author:
Arjen Poutsma, Lukas Krecan

Method Summary
 ResponseActions andExpect(RequestMatcher requestMatcher)
          Allows for further expectations to be set on the request.
 void andRespond(ResponseCreator responseCreator)
          Sets the ResponseCreator for this mock.
 

Method Detail

andExpect

ResponseActions andExpect(RequestMatcher requestMatcher)
Allows for further expectations to be set on the request.

Returns:
the request expectations

andRespond

void andRespond(ResponseCreator responseCreator)
Sets the ResponseCreator for this mock.

Parameters:
responseCreator - the response creator

Spring Web Services Framework

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