类 MappingJacksonInputMessage

java.lang.Object
cn.taketoday.http.converter.json.MappingJacksonInputMessage
所有已实现的接口:
HttpInputMessage, HttpMessage

public class MappingJacksonInputMessage extends Object implements HttpInputMessage
HttpInputMessage that can eventually stores a Jackson view that will be used to deserialize the message.
从以下版本开始:
4.0
作者:
Sebastien Deleuze
  • 字段详细资料

    • body

      private final InputStream body
    • headers

      private final HttpHeaders headers
    • deserializationView

      @Nullable private Class<?> deserializationView
  • 构造器详细资料

  • 方法详细资料

    • getBody

      public InputStream getBody() throws IOException
      从接口复制的说明: HttpInputMessage
      Return 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

      public HttpHeaders getHeaders()
      从接口复制的说明: HttpMessage
      Return the headers of this message.
      指定者:
      getHeaders 在接口中 HttpMessage
      返回:
      a corresponding HttpHeaders object (never null)
    • setDeserializationView

      public void setDeserializationView(@Nullable Class<?> deserializationView)
    • getDeserializationView

      @Nullable public Class<?> getDeserializationView()