Spring Social

org.springframework.social.test.client
Interface RequestMatcher


public interface RequestMatcher

Defines the contract for matching requests to expectations.

Author:
Arjen Poutsma, Lukas Krecan, Craig Walls

Method Summary
 void match(org.springframework.http.client.ClientHttpRequest request)
          Matches the given request message against the expectations.
 

Method Detail

match

void match(org.springframework.http.client.ClientHttpRequest request)
           throws java.io.IOException,
                  java.lang.AssertionError
Matches the given request message against the expectations.

Parameters:
request - the request to make assertions on
Throws:
java.io.IOException - in case of I/O errors
java.lang.AssertionError - if expectations are not met

Spring Social