Spring Social

org.springframework.social.test.client
Class MockHttpRequest

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

public class MockHttpRequest
extends java.lang.Object
implements org.springframework.http.HttpRequest


Constructor Summary
MockHttpRequest(org.springframework.http.HttpMethod method, java.lang.String uri)
           
MockHttpRequest(java.lang.String uri)
           
 
Method Summary
 org.springframework.http.HttpHeaders getHeaders()
           
 org.springframework.http.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(org.springframework.http.HttpMethod method,
                       java.lang.String uri)
Method Detail

getHeaders

public org.springframework.http.HttpHeaders getHeaders()
Specified by:
getHeaders in interface org.springframework.http.HttpMessage

getMethod

public org.springframework.http.HttpMethod getMethod()
Specified by:
getMethod in interface org.springframework.http.HttpRequest

getURI

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

Spring Social