public class NettyBodyBody extends java.lang.Object implements NettyBody
Constructor and Description |
---|
NettyBodyBody(Body body,
AsyncHttpClientConfig config) |
Modifier and Type | Method and Description |
---|---|
Body |
getBody() |
long |
getContentLength() |
java.lang.String |
getContentType() |
void |
write(Channel channel,
NettyResponseFuture<?> future) |
public NettyBodyBody(Body body, AsyncHttpClientConfig config)
public Body getBody()
public long getContentLength()
getContentLength
in interface NettyBody
public java.lang.String getContentType()
getContentType
in interface NettyBody
public void write(Channel channel, NettyResponseFuture<?> future) throws java.io.IOException
Copyright © 2018. All Rights Reserved.