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