| Constructor and Description |
|---|
NettyInputStreamBody(InputStream inputStream) |
NettyInputStreamBody(InputStream inputStream,
long contentLength) |
| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength() |
InputStream |
getInputStream() |
void |
write(io.netty.channel.Channel channel,
NettyResponseFuture<?> future) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentTypeOverridepublic NettyInputStreamBody(InputStream inputStream)
public NettyInputStreamBody(InputStream inputStream, long contentLength)
public InputStream getInputStream()
public long getContentLength()
getContentLength in interface NettyBodypublic void write(io.netty.channel.Channel channel,
NettyResponseFuture<?> future)
throws IOException
write in interface NettyBodyIOExceptionCopyright © 2021. All rights reserved.