public class MockHttpRequest extends Object implements org.springframework.http.HttpRequest
Constructor and Description |
---|
MockHttpRequest(org.springframework.http.HttpMethod method,
String uri) |
MockHttpRequest(String uri) |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.HttpHeaders |
getHeaders() |
org.springframework.http.HttpMethod |
getMethod() |
URI |
getURI() |
public MockHttpRequest(String uri)
public MockHttpRequest(org.springframework.http.HttpMethod method, String uri)
public org.springframework.http.HttpHeaders getHeaders()
getHeaders
in interface org.springframework.http.HttpMessage
public org.springframework.http.HttpMethod getMethod()
getMethod
in interface org.springframework.http.HttpRequest
public URI getURI()
getURI
in interface org.springframework.http.HttpRequest
Copyright © 2016. All rights reserved.