open class ByteArrayHttpMessageConverter : AbstractHttpMessageConverter<ByteArray>
Implementation of HttpMessageConverter that can read and write byte arrays.
By default, this converter supports all media types (*/*), and writes with a Content-Type of application/octet-stream. This can be overridden by setting the supportedMediaTypes property.
Author
Arjen Poutsma
Author
Juergen Hoeller
Since
3.0
ByteArrayHttpMessageConverter()
Create a new instance of the |
open fun readInternal(clazz: Class<out ByteArray>, inputMessage: HttpInputMessage): ByteArray |
|
open fun supports(clazz: Class<*>): Boolean |