public class NettyBodyBody extends Object implements NettyBody
Constructor and Description |
---|
NettyBodyBody(Body body,
AsyncHttpClientConfig config) |
Modifier and Type | Method and Description |
---|---|
Body |
getBody() |
long |
getContentLength() |
void |
write(io.netty.channel.Channel channel,
NettyResponseFuture<?> future) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContentTypeOverride
public NettyBodyBody(Body body, AsyncHttpClientConfig config)
public Body getBody()
public long getContentLength()
getContentLength
in interface NettyBody
public void write(io.netty.channel.Channel channel, NettyResponseFuture<?> future) throws IOException
write
in interface NettyBody
IOException
Copyright © 2017. All Rights Reserved.