Class MockClientHttpRequest

java.lang.Object
org.springframework.mock.http.MockHttpOutputMessage
org.springframework.mock.http.client.MockClientHttpRequest
All Implemented Interfaces:
ClientHttpRequest, HttpMessage, HttpOutputMessage, HttpRequest

public class MockClientHttpRequest extends MockHttpOutputMessage implements ClientHttpRequest
Mock implementation of ClientHttpRequest.
Since:
3.2
Author:
Rossen Stoyanchev, Sam Brannen
  • Constructor Details

    • MockClientHttpRequest

      public MockClientHttpRequest()
      Default constructor.
    • MockClientHttpRequest

      public MockClientHttpRequest(HttpMethod httpMethod, URI uri)
      Create an instance with the given HttpMethod and URI.
  • Method Details