Spring Social

org.springframework.social.test.client
Interface ResponseActions

All Known Implementing Classes:
MockClientHttpRequest

public interface ResponseActions

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

Author:
Arjen Poutsma, Lukas Krecan, Craig Walls

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 Social