类 Jackson2JsonDecoder

所有已实现的接口:
cn.taketoday.core.codec.Decoder<Object>, HttpMessageDecoder<Object>

public class Jackson2JsonDecoder extends AbstractJackson2Decoder
Decode a byte stream into JSON and convert to Object's with Jackson 2.9, leveraging non-blocking parsing.
从以下版本开始:
4.0
作者:
Sebastien Deleuze, Rossen Stoyanchev, Harry Yang
另请参阅:
  • 字段详细资料

    • CHAR_BUFFER_TYPE

      private static final cn.taketoday.core.ResolvableType CHAR_BUFFER_TYPE
    • CHAR_BUFFER_DECODER

      private static final cn.taketoday.core.codec.CharBufferDecoder CHAR_BUFFER_DECODER
  • 构造器详细资料

    • Jackson2JsonDecoder

      public Jackson2JsonDecoder()
    • Jackson2JsonDecoder

      public Jackson2JsonDecoder(ObjectMapper mapper, cn.taketoday.util.MimeType... mimeTypes)
  • 方法详细资料

    • processInput

      protected reactor.core.publisher.Flux<cn.taketoday.core.io.buffer.DataBuffer> processInput(org.reactivestreams.Publisher<cn.taketoday.core.io.buffer.DataBuffer> input, cn.taketoday.core.ResolvableType elementType, @Nullable cn.taketoday.util.MimeType mimeType, @Nullable Map<String,Object> hints)
      从类复制的说明: AbstractJackson2Decoder
      Process the input publisher into a flux. Default implementation returns Flux.from(Publisher), but subclasses can choose to customize this behavior.
      覆盖:
      processInput 在类中 AbstractJackson2Decoder
      参数:
      input - the DataBuffer input stream to process
      elementType - the expected type of elements in the output stream
      mimeType - the MIME type associated with the input stream (optional)
      hints - additional information about how to do encode
      返回:
      the processed flux