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