Constructor and Description |
---|
NettyReactiveStreamsBody(org.reactivestreams.Publisher<ByteBuffer> publisher) |
Modifier and Type | Method and Description |
---|---|
long |
getContentLength() |
String |
getContentType() |
void |
write(io.netty.channel.Channel channel,
NettyResponseFuture<?> future) |
public NettyReactiveStreamsBody(org.reactivestreams.Publisher<ByteBuffer> publisher)
public long getContentLength()
getContentLength
in interface NettyBody
public String getContentType()
getContentType
in interface NettyBody
public void write(io.netty.channel.Channel channel, NettyResponseFuture<?> future) throws IOException
write
in interface NettyBody
IOException
Copyright © 2015. All Rights Reserved.