Class MappingJacksonInputMessage
java.lang.Object
org.springframework.http.converter.json.MappingJacksonInputMessage
- All Implemented Interfaces:
HttpInputMessage
,HttpMessage
@Deprecated(since="7.0",
forRemoval=true)
public class MappingJacksonInputMessage
extends Object
implements HttpInputMessage
Deprecated, for removal: This API element is subject to removal in a future version.
HttpInputMessage
that can eventually stores a Jackson view that will be used
to deserialize the message.- Since:
- 4.2
- Author:
- Sebastien Deleuze
-
Constructor Summary
ConstructorsConstructorDescriptionMappingJacksonInputMessage
(InputStream body, HttpHeaders headers) Deprecated, for removal: This API element is subject to removal in a future version.MappingJacksonInputMessage
(InputStream body, HttpHeaders headers, Class<?> deserializationView) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptiongetBody()
Deprecated, for removal: This API element is subject to removal in a future version.Return the body of the message as an input stream.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Return the headers of this message.void
setDeserializationView
(@Nullable Class<?> deserializationView) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
MappingJacksonInputMessage
Deprecated, for removal: This API element is subject to removal in a future version. -
MappingJacksonInputMessage
public MappingJacksonInputMessage(InputStream body, HttpHeaders headers, Class<?> deserializationView) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getBody
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:HttpInputMessage
Return the body of the message as an input stream.- Specified by:
getBody
in interfaceHttpInputMessage
- Returns:
- the input stream body (never
null
) - Throws:
IOException
- in case of I/O errors
-
getHeaders
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:HttpMessage
Return the headers of this message.- Specified by:
getHeaders
in interfaceHttpMessage
- Returns:
- a corresponding HttpHeaders object (never
null
)
-
setDeserializationView
-
getDeserializationView
-
SmartHttpMessageConverter
hints