public class FastJsonEncoder extends FastJsonCodecSupport implements org.springframework.core.codec.Encoder<Object>
| 构造器和说明 |
|---|
FastJsonEncoder() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
canEncode(org.springframework.core.ResolvableType elementType,
org.springframework.util.MimeType mimeType) |
reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> |
encode(org.reactivestreams.Publisher<? extends Object> inputStream,
org.springframework.core.io.buffer.DataBufferFactory bufferFactory,
org.springframework.core.ResolvableType elementType,
org.springframework.util.MimeType mimeType,
Map<String,Object> hints) |
org.springframework.core.io.buffer.DataBuffer |
encodeValue(Object value,
org.springframework.core.io.buffer.DataBufferFactory bufferFactory,
org.springframework.core.ResolvableType valueType,
org.springframework.util.MimeType mimeType,
Map<String,Object> hints) |
List<org.springframework.util.MimeType> |
getEncodableMimeTypes() |
getMimeTypes, supportsMimeTypepublic boolean canEncode(org.springframework.core.ResolvableType elementType,
@Nullable
org.springframework.util.MimeType mimeType)
canEncode 在接口中 org.springframework.core.codec.Encoder<Object>public reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> encode(org.reactivestreams.Publisher<? extends Object> inputStream, org.springframework.core.io.buffer.DataBufferFactory bufferFactory, org.springframework.core.ResolvableType elementType, @Nullable org.springframework.util.MimeType mimeType, @Nullable Map<String,Object> hints)
encode 在接口中 org.springframework.core.codec.Encoder<Object>public org.springframework.core.io.buffer.DataBuffer encodeValue(Object value, org.springframework.core.io.buffer.DataBufferFactory bufferFactory, org.springframework.core.ResolvableType valueType, @Nullable org.springframework.util.MimeType mimeType, @Nullable Map<String,Object> hints)
encodeValue 在接口中 org.springframework.core.codec.Encoder<Object>Copyright © 2021 Summer Cattle Team. All rights reserved.