类 MappingJacksonInputMessage
java.lang.Object
cn.taketoday.http.converter.json.MappingJacksonInputMessage
- 所有已实现的接口:
HttpInputMessage,HttpMessage
HttpInputMessage that can eventually stores a Jackson view that will be used
to deserialize the message.- 从以下版本开始:
- 4.0
- 作者:
- Sebastien Deleuze
-
字段概要
字段 -
构造器概要
构造器构造器说明MappingJacksonInputMessage(InputStream body, HttpHeaders headers) MappingJacksonInputMessage(InputStream body, HttpHeaders headers, Class<?> deserializationView) -
方法概要
修饰符和类型方法说明getBody()Return the body of the message as an input stream.Class<?>Return the headers of this message.voidsetDeserializationView(Class<?> deserializationView)
-
字段详细资料
-
body
-
headers
-
deserializationView
-
-
构造器详细资料
-
MappingJacksonInputMessage
-
MappingJacksonInputMessage
public MappingJacksonInputMessage(InputStream body, HttpHeaders headers, Class<?> deserializationView)
-
-
方法详细资料
-
getBody
从接口复制的说明:HttpInputMessageReturn the body of the message as an input stream.- 指定者:
getBody在接口中HttpInputMessage- 返回:
- the input stream body (never
null) - 抛出:
IOException- in case of I/O errors
-
getHeaders
从接口复制的说明:HttpMessageReturn the headers of this message.- 指定者:
getHeaders在接口中HttpMessage- 返回:
- a corresponding HttpHeaders object (never
null)
-
setDeserializationView
-
getDeserializationView
-