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