public class NettyCompositeByteArrayBody extends NettyDirectBody
Constructor and Description |
---|
NettyCompositeByteArrayBody(List<byte[]> bytes) |
NettyCompositeByteArrayBody(List<byte[]> bytes,
String contentType) |
Modifier and Type | Method and Description |
---|---|
org.jboss.netty.buffer.ChannelBuffer |
channelBuffer() |
long |
getContentLength() |
String |
getContentType() |
write
public NettyCompositeByteArrayBody(List<byte[]> bytes)
public long getContentLength()
public String getContentType()
public org.jboss.netty.buffer.ChannelBuffer channelBuffer()
channelBuffer
in class NettyDirectBody
Copyright © 2014. All Rights Reserved.