org.springframework.social.test.client
Class MockHttpRequest

java.lang.Object
  extended by org.springframework.social.test.client.MockHttpRequest
All Implemented Interfaces:
HttpMessage, HttpRequest

public class MockHttpRequest
extends java.lang.Object
implements HttpRequest


Constructor Summary
MockHttpRequest(HttpMethod method, java.lang.String uri)
           
MockHttpRequest(java.lang.String uri)
           
 
Method Summary
 HttpHeaders getHeaders()
           
 HttpMethod getMethod()
           
 java.net.URI getURI()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockHttpRequest

public MockHttpRequest(java.lang.String uri)

MockHttpRequest

public MockHttpRequest(HttpMethod method,
                       java.lang.String uri)
Method Detail

getHeaders

public HttpHeaders getHeaders()
Specified by:
getHeaders in interface HttpMessage

getMethod

public HttpMethod getMethod()
Specified by:
getMethod in interface HttpRequest

getURI

public java.net.URI getURI()
Specified by:
getURI in interface HttpRequest