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