Class AvroBinaryEncoder

java.lang.Object
org.springframework.core.codec.AbstractEncoder<org.apache.avro.specific.SpecificRecord>
org.springframework.core.codec.AbstractSingleValueEncoder<org.apache.avro.specific.SpecificRecord>
ch.admin.bit.jeap.processarchive.web.AvroBinaryEncoder
All Implemented Interfaces:
org.springframework.core.codec.Encoder<org.apache.avro.specific.SpecificRecord>

public class AvroBinaryEncoder extends org.springframework.core.codec.AbstractSingleValueEncoder<org.apache.avro.specific.SpecificRecord>
  • Field Summary

    Fields inherited from class org.springframework.core.codec.AbstractEncoder

    logger
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canEncode(org.springframework.core.ResolvableType elementType, org.springframework.util.MimeType mimeType)
     
    protected reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer>
    encode(org.apache.avro.specific.SpecificRecord specificRecord, org.springframework.core.io.buffer.DataBufferFactory bufferFactory, org.springframework.core.ResolvableType type, org.springframework.util.MimeType mimeType, Map<String,Object> hints)
     

    Methods inherited from class org.springframework.core.codec.AbstractSingleValueEncoder

    encode

    Methods inherited from class org.springframework.core.codec.AbstractEncoder

    getEncodableMimeTypes, getLogger, setLogger

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.core.codec.Encoder

    encodeValue, getEncodableMimeTypes
  • Method Details

    • canEncode

      public boolean canEncode(org.springframework.core.ResolvableType elementType, org.springframework.util.MimeType mimeType)
      Specified by:
      canEncode in interface org.springframework.core.codec.Encoder<org.apache.avro.specific.SpecificRecord>
      Overrides:
      canEncode in class org.springframework.core.codec.AbstractEncoder<org.apache.avro.specific.SpecificRecord>
    • encode

      protected reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> encode(org.apache.avro.specific.SpecificRecord specificRecord, org.springframework.core.io.buffer.DataBufferFactory bufferFactory, org.springframework.core.ResolvableType type, org.springframework.util.MimeType mimeType, Map<String,Object> hints)
      Specified by:
      encode in class org.springframework.core.codec.AbstractSingleValueEncoder<org.apache.avro.specific.SpecificRecord>