public class HessianEncoder extends HessianCodecSupport implements org.springframework.core.codec.Encoder<Object>
HESSIAN_MIME_TYPE, HESSIAN_MIME_TYPES| Constructor and Description |
|---|
HessianEncoder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEncode(@NotNull org.springframework.core.ResolvableType elementType,
org.springframework.util.MimeType mimeType) |
@NotNull reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> |
encode(@NotNull org.reactivestreams.Publisher<?> inputStream,
@NotNull org.springframework.core.io.buffer.DataBufferFactory bufferFactory,
org.springframework.core.ResolvableType elementType,
org.springframework.util.MimeType mimeType,
Map<String,Object> hints) |
@NotNull 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) |
@NotNull List<org.springframework.util.MimeType> |
getEncodableMimeTypes() |
decode, encodepublic boolean canEncode(@NotNull
@NotNull org.springframework.core.ResolvableType elementType,
org.springframework.util.MimeType mimeType)
canEncode in interface org.springframework.core.codec.Encoder<Object>@NotNull
public @NotNull reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> encode(@NotNull
@NotNull org.reactivestreams.Publisher<?> inputStream,
@NotNull
@NotNull org.springframework.core.io.buffer.DataBufferFactory bufferFactory,
org.springframework.core.ResolvableType elementType,
org.springframework.util.MimeType mimeType,
Map<String,Object> hints)
encode in interface org.springframework.core.codec.Encoder<Object>@NotNull public @NotNull 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)
encodeValue in interface org.springframework.core.codec.Encoder<Object>Copyright © 2020. All rights reserved.