public class Jaxb2XmlEncoder extends AbstractSingleValueEncoder<Object>
Object stream to a byte stream containing XML elements.Jaxb2XmlDecoder| Constructor and Description |
|---|
Jaxb2XmlEncoder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEncode(ResolvableType elementType,
MimeType mimeType)
Whether the encoder supports the given source element type and the MIME
type for the output stream.
|
protected reactor.core.publisher.Flux<DataBuffer> |
encode(Object value,
DataBufferFactory dataBufferFactory,
ResolvableType type,
MimeType mimeType,
Map<String,Object> hints)
Encode
T to an output DataBuffer stream. |
encodegetEncodableMimeTypesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentLengthpublic boolean canEncode(ResolvableType elementType, @Nullable MimeType mimeType)
Encoderprotected reactor.core.publisher.Flux<DataBuffer> encode(Object value, DataBufferFactory dataBufferFactory, ResolvableType type, @Nullable MimeType mimeType, @Nullable Map<String,Object> hints)
AbstractSingleValueEncoderT to an output DataBuffer stream.encode in class AbstractSingleValueEncoder<Object>value - the value to processdataBufferFactory - a buffer factory used to create the outputtype - the stream element type to processmimeType - the mime type to processhints - Additional information about how to do decode, optional