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