public class ByteArrayHttpMessageConverter extends AbstractHttpMessageConverter<byte[]>
DEFAULT_CHARSET| 构造器和说明 |
|---|
ByteArrayHttpMessageConverter() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected byte[] |
readInternal(java.lang.Class<? extends byte[]> clazz,
HttpInputMessage inputMessage) |
protected boolean |
supports(java.lang.Class<?> clazz) |
protected void |
writeInternal(byte[] bytes,
ContentType contentType,
HttpOutputMessage outputMessage) |
getCharset, getSupportContentTypes, read, setSupportedContentTypes, supportRead, supportRead, supportWrite, supportWrite, writeprotected boolean supports(java.lang.Class<?> clazz)
supports 在类中 AbstractHttpMessageConverter<byte[]>protected byte[] readInternal(java.lang.Class<? extends byte[]> clazz,
HttpInputMessage inputMessage)
throws java.io.IOException
readInternal 在类中 AbstractHttpMessageConverter<byte[]>java.io.IOExceptionprotected void writeInternal(byte[] bytes,
ContentType contentType,
HttpOutputMessage outputMessage)
throws java.io.IOException
writeInternal 在类中 AbstractHttpMessageConverter<byte[]>java.io.IOException