Class MappingJacksonInputMessage
java.lang.Object
org.springframework.http.converter.json.MappingJacksonInputMessage
- All Implemented Interfaces:
- HttpInputMessage,- HttpMessage
HttpInputMessage that can eventually stores a Jackson view that will be used
 to deserialize the message.- Since:
- 4.2
- Author:
- Sebastien Deleuze
- 
Constructor SummaryConstructorsConstructorDescriptionMappingJacksonInputMessage(InputStream body, HttpHeaders headers) MappingJacksonInputMessage(InputStream body, HttpHeaders headers, Class<?> deserializationView) 
- 
Method SummaryModifier and TypeMethodDescriptiongetBody()Return the body of the message as an input stream.Class<?>Return the headers of this message.voidsetDeserializationView(Class<?> deserializationView) 
- 
Constructor Details- 
MappingJacksonInputMessage
- 
MappingJacksonInputMessagepublic MappingJacksonInputMessage(InputStream body, HttpHeaders headers, Class<?> deserializationView) 
 
- 
- 
Method Details- 
getBodyDescription copied from interface:HttpInputMessageReturn the body of the message as an input stream.- Specified by:
- getBodyin interface- HttpInputMessage
- Returns:
- the input stream body (never null)
- Throws:
- IOException- in case of I/O errors
 
- 
getHeadersDescription copied from interface:HttpMessageReturn the headers of this message.- Specified by:
- getHeadersin interface- HttpMessage
- Returns:
- a corresponding HttpHeaders object (never null)
 
- 
setDeserializationView
- 
getDeserializationView
 
-