public class NettyByteBufferBody extends NettyDirectBody
Constructor and Description |
---|
NettyByteBufferBody(ByteBuffer bb) |
NettyByteBufferBody(ByteBuffer bb,
String contentType) |
Modifier and Type | Method and Description |
---|---|
org.jboss.netty.buffer.ChannelBuffer |
channelBuffer() |
long |
getContentLength() |
String |
getContentType() |
write
public NettyByteBufferBody(ByteBuffer bb)
public NettyByteBufferBody(ByteBuffer bb, String contentType)
public long getContentLength()
public String getContentType()
public org.jboss.netty.buffer.ChannelBuffer channelBuffer()
channelBuffer
in class NettyDirectBody
Copyright © 2016. All Rights Reserved.