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() |
String |
getContentType() |
void |
write(Channel channel,
NettyResponseFuture<?> future) |
public NettyBodyBody(Body body, AsyncHttpClientConfig config)
public Body getBody()
public long getContentLength()
getContentLength in interface NettyBodypublic String getContentType()
getContentType in interface NettyBodypublic void write(Channel channel, NettyResponseFuture<?> future) throws IOException
write in interface NettyBodyIOExceptionCopyright © 2016. All Rights Reserved.