类 BufferedImageHttpMessageConverter

java.lang.Object
cn.taketoday.http.converter.BufferedImageHttpMessageConverter
所有已实现的接口:
HttpMessageConverter<BufferedImage>

public class BufferedImageHttpMessageConverter extends Object implements HttpMessageConverter<BufferedImage>
Implementation of HttpMessageConverter that can read and write BufferedImages.

By default, this converter can read all media types that are supported by the registered image readers, and writes using the media type of the first available registered image writer. The latter can be overridden by setting the defaultContentType property.

If the cacheDir property is set, this converter will cache image data.

The process(ImageReadParam) and process(ImageWriteParam) template methods allow subclasses to override Image I/O parameters.

从以下版本开始:
4.0
作者:
Arjen Poutsma