Class MockHttpInputMessage

java.lang.Object
org.springframework.mock.http.MockHttpInputMessage
All Implemented Interfaces:
HttpInputMessage, HttpMessage
Direct Known Subclasses:
MockClientHttpResponse

public class MockHttpInputMessage extends Object implements HttpInputMessage
Mock implementation of HttpInputMessage.
Since:
3.2
Author:
Rossen Stoyanchev
  • Constructor Details

    • MockHttpInputMessage

      public MockHttpInputMessage(byte[] body)
      Create a MockHttpInputMessage with the supplied body.
    • MockHttpInputMessage

      public MockHttpInputMessage(InputStream body)
      Create a MockHttpInputMessage with the supplied body.
  • Method Details