org.springframework.social.test.client
Class MockHttpRequest
java.lang.Object
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
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 |
MockHttpRequest
public MockHttpRequest(java.lang.String uri)
MockHttpRequest
public MockHttpRequest(org.springframework.http.HttpMethod method,
java.lang.String uri)
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