public class OctetByteArrayMessageConverter extends OctetStreamMessageConverter<byte[]>
| Constructor and Description |
|---|
OctetByteArrayMessageConverter() |
OctetByteArrayMessageConverter(int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead(java.lang.reflect.Type type) |
boolean |
canWrite(java.lang.Class<?> type) |
byte[] |
read(HttpResponseMessage httpResponseMessage,
java.lang.reflect.Type expectedType) |
void |
write(byte[] body,
HttpRequestMessage httpRequestMessage) |
contentTypepublic OctetByteArrayMessageConverter()
public OctetByteArrayMessageConverter(int bufferSize)
public boolean canRead(java.lang.reflect.Type type)
public byte[] read(HttpResponseMessage httpResponseMessage, java.lang.reflect.Type expectedType) throws RestifyHttpMessageReadException
RestifyHttpMessageReadExceptionpublic boolean canWrite(java.lang.Class<?> type)
public void write(byte[] body,
HttpRequestMessage httpRequestMessage)
throws RestifyHttpMessageWriteException
RestifyHttpMessageWriteExceptionCopyright © 2017. All Rights Reserved.