public class NettyBodyBody extends Object implements NettyBody
| Constructor and Description |
|---|
NettyBodyBody(Body body,
NettyAsyncHttpProviderConfig nettyConfig) |
| Modifier and Type | Method and Description |
|---|---|
Body |
getBody() |
long |
getContentLength() |
String |
getContentType() |
void |
write(org.jboss.netty.channel.Channel channel,
NettyResponseFuture<?> future,
AsyncHttpClientConfig config) |
public NettyBodyBody(Body body, NettyAsyncHttpProviderConfig nettyConfig)
public Body getBody()
public long getContentLength()
getContentLength in interface NettyBodypublic String getContentType()
getContentType in interface NettyBodypublic void write(org.jboss.netty.channel.Channel channel,
NettyResponseFuture<?> future,
AsyncHttpClientConfig config)
throws IOException
write in interface NettyBodyIOExceptionCopyright © 2014. All Rights Reserved.