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