Example usage for Java org.springframework.core.codec Encoder fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | canEncode(ResolvableType elementType, @Nullable MimeType mimeType) Whether the encoder supports the given source element type and the MIME type for the output stream. |
DataBuffer | encodeValue(T value, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map Encode an Object of type T to a data buffer. |
Class> | getClass() Returns the runtime class of this Object . |
List | getEncodableMimeTypes() Return the list of mime types this encoder supports. |