public class MockHttpInputMessage extends java.lang.Object implements HttpInputMessage
HttpInputMessage.| Constructor and Description | 
|---|
MockHttpInputMessage(byte[] content)  | 
MockHttpInputMessage(java.io.InputStream body)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.io.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(java.io.InputStream body)
public HttpHeaders getHeaders()
HttpMessagegetHeaders in interface HttpMessagenull)public java.io.InputStream getBody()
                            throws java.io.IOException
HttpInputMessagegetBody in interface HttpInputMessagenull)java.io.IOException - in case of I/O errors