类 Jackson2JsonDecoder
java.lang.Object
cn.taketoday.http.codec.json.Jackson2CodecSupport
cn.taketoday.http.codec.json.AbstractJackson2Decoder
cn.taketoday.http.codec.json.Jackson2JsonDecoder
- 所有已实现的接口:
cn.taketoday.core.codec.Decoder<Object>,HttpMessageDecoder<Object>
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
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明private static final cn.taketoday.core.codec.CharBufferDecoderprivate static final cn.taketoday.core.ResolvableType从类继承的字段 cn.taketoday.http.codec.json.Jackson2CodecSupport
ACTUAL_TYPE_HINT, JSON_VIEW_HINT, logger -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明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, cn.taketoday.util.MimeType mimeType, Map<String, Object> hints) Process the input publisher into a flux.从类继承的方法 cn.taketoday.http.codec.json.AbstractJackson2Decoder
canDecode, customizeReader, decode, decode, decodeToMono, getAnnotation, getDecodableMimeTypes, getDecodableMimeTypes, getDecodeHints, getMaxInMemorySize, setMaxInMemorySize从类继承的方法 cn.taketoday.http.codec.json.Jackson2CodecSupport
getHints, getJavaType, getMediaTypesForProblemDetail, getMimeTypes, getMimeTypes, getObjectMapper, getObjectMapperRegistrations, getObjectMappersForType, getParameter, logWarningIfNecessary, notSupportsMimeType, registerObjectMappersForType, selectObjectMapper, setObjectMapper
-
字段详细资料
-
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
-
-
方法详细资料
-
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) 从类复制的说明:AbstractJackson2DecoderProcess the input publisher into a flux. Default implementation returnsFlux.from(Publisher), but subclasses can choose to customize this behavior.- 覆盖:
processInput在类中AbstractJackson2Decoder- 参数:
input- theDataBufferinput stream to processelementType- the expected type of elements in the output streammimeType- the MIME type associated with the input stream (optional)hints- additional information about how to do encode- 返回:
- the processed flux
-