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 TypeMethodDescriptionbooleancanEncode(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
encodeMethods inherited from class org.springframework.core.codec.AbstractEncoder
getEncodableMimeTypes, getLogger, setLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
canEncodein interfaceorg.springframework.core.codec.Encoder<org.apache.avro.specific.SpecificRecord>- Overrides:
canEncodein classorg.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:
encodein classorg.springframework.core.codec.AbstractSingleValueEncoder<org.apache.avro.specific.SpecificRecord>
-