public class MappingJacksonInputMessage extends java.lang.Object implements HttpInputMessage
HttpInputMessage that can eventually stores a Jackson view that will be used
to deserialize the message.| Constructor and Description |
|---|
MappingJacksonInputMessage(java.io.InputStream body,
HttpHeaders headers) |
MappingJacksonInputMessage(java.io.InputStream body,
HttpHeaders headers,
java.lang.Class<?> deserializationView) |
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getBody()
Return the body of the message as an input stream.
|
java.lang.Class<?> |
getDeserializationView() |
HttpHeaders |
getHeaders()
Return the headers of this message.
|
void |
setDeserializationView(java.lang.Class<?> deserializationView) |
public MappingJacksonInputMessage(java.io.InputStream body,
HttpHeaders headers)
public MappingJacksonInputMessage(java.io.InputStream body,
HttpHeaders headers,
java.lang.Class<?> deserializationView)
public java.io.InputStream getBody()
throws java.io.IOException
HttpInputMessagegetBody in interface HttpInputMessagenull)java.io.IOException - in case of I/O errorspublic HttpHeaders getHeaders()
HttpMessagegetHeaders in interface HttpMessagenull)public void setDeserializationView(java.lang.Class<?> deserializationView)
public java.lang.Class<?> getDeserializationView()