| Constructor and Description |
|---|
NettyInputStreamBody(InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength() |
String |
getContentType() |
InputStream |
getInputStream() |
void |
write(org.jboss.netty.channel.Channel channel,
NettyResponseFuture<?> future,
AsyncHttpClientConfig config) |
public NettyInputStreamBody(InputStream inputStream)
public InputStream getInputStream()
public long getContentLength()
getContentLength in interface NettyBodypublic String getContentType()
getContentType in interface NettyBodypublic void write(org.jboss.netty.channel.Channel channel,
NettyResponseFuture<?> future,
AsyncHttpClientConfig config)
throws IOException
write in interface NettyBodyIOExceptionCopyright © 2015. All Rights Reserved.