Class 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
    • Constructor Detail

      • HessianDecoder

        public HessianDecoder()
    • Method Detail

      • canDecode

        public boolean canDecode​(@NotNull
                                 @NotNull org.springframework.core.ResolvableType elementType,
                                 org.springframework.util.MimeType mimeType)
        Specified by:
        canDecode in interface org.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:
        decode in interface org.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:
        decodeToMono in interface org.springframework.core.codec.Decoder<Object>
      • getDecodableMimeTypes

        @NotNull
        public @NotNull List<org.springframework.util.MimeType> getDecodableMimeTypes()
        Specified by:
        getDecodableMimeTypes in interface org.springframework.core.codec.Decoder<Object>