public class MockHttpInputMessage extends Object implements HttpInputMessage
HttpInputMessage.| Constructor and Description | 
|---|
| MockHttpInputMessage(byte[] content) | 
| MockHttpInputMessage(InputStream body) | 
| Modifier and Type | Method and Description | 
|---|---|
| InputStream | getBody()Return the body of the message as an input stream. | 
| HttpHeaders | getHeaders()Return the headers of this message. | 
public MockHttpInputMessage(byte[] content)
public MockHttpInputMessage(InputStream body)
public HttpHeaders getHeaders()
HttpMessagegetHeaders in interface HttpMessagenull)public InputStream getBody() throws IOException
HttpInputMessagegetBody in interface HttpInputMessagenull)IOException - in case of I/O errors