Class HessianDecoder
java.lang.Object
com.alibaba.spring.boot.rsocket.hessian.HessianCodecSupport
com.alibaba.spring.boot.rsocket.hessian.HessianDecoder
- All Implemented Interfaces:
org.springframework.core.codec.Decoder<Object>
public class HessianDecoder
extends HessianCodecSupport
implements org.springframework.core.codec.Decoder<Object>
Hessian Decoder
- Author:
- leijuan
-
Field Summary
Fields inherited from class com.alibaba.spring.boot.rsocket.hessian.HessianCodecSupport
HESSIAN_MIME_TYPE, HESSIAN_MIME_TYPES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanDecode(@NotNull org.springframework.core.ResolvableType elementType, org.springframework.util.MimeType mimeType) @NotNull reactor.core.publisher.Flux<Object>decode(@NotNull org.reactivestreams.Publisher<org.springframework.core.io.buffer.DataBuffer> inputStream, @NotNull org.springframework.core.ResolvableType elementType, org.springframework.util.MimeType mimeType, Map<String, Object> hints) @NotNull reactor.core.publisher.Mono<Object>decodeToMono(@NotNull org.reactivestreams.Publisher<org.springframework.core.io.buffer.DataBuffer> inputStream, @NotNull org.springframework.core.ResolvableType elementType, org.springframework.util.MimeType mimeType, Map<String, Object> hints) @NotNull List<org.springframework.util.MimeType>Methods inherited from class com.alibaba.spring.boot.rsocket.hessian.HessianCodecSupport
decode, encodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.codec.Decoder
decode, getDecodableMimeTypes
-
Constructor Details
-
HessianDecoder
public HessianDecoder()
-
-
Method Details
-
canDecode
public boolean canDecode(@NotNull @NotNull org.springframework.core.ResolvableType elementType, org.springframework.util.MimeType mimeType) - Specified by:
canDecodein interfaceorg.springframework.core.codec.Decoder<Object>
-
decode
@NotNull public @NotNull reactor.core.publisher.Flux<Object> decode(@NotNull @NotNull org.reactivestreams.Publisher<org.springframework.core.io.buffer.DataBuffer> inputStream, @NotNull @NotNull org.springframework.core.ResolvableType elementType, org.springframework.util.MimeType mimeType, Map<String, Object> hints) - Specified by:
decodein interfaceorg.springframework.core.codec.Decoder<Object>
-
decodeToMono
@NotNull public @NotNull reactor.core.publisher.Mono<Object> decodeToMono(@NotNull @NotNull org.reactivestreams.Publisher<org.springframework.core.io.buffer.DataBuffer> inputStream, @NotNull @NotNull org.springframework.core.ResolvableType elementType, org.springframework.util.MimeType mimeType, Map<String, Object> hints) - Specified by:
decodeToMonoin interfaceorg.springframework.core.codec.Decoder<Object>
-
getDecodableMimeTypes
- Specified by:
getDecodableMimeTypesin interfaceorg.springframework.core.codec.Decoder<Object>
-