Class BodyDecoderEncoder
java.lang.Object
de.gematik.test.tiger.mockserver.codec.BodyDecoderEncoder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.netty.buffer.ByteBufbodyToByteBuf(Body body) io.netty.buffer.ByteBuf[]bodyToByteBuf(Body body, String contentTypeHeader, int chunkSize) byteBufToBody(io.netty.buffer.ByteBuf content, String contentTypeHeader) bytesToBody(byte[] bodyBytes, String contentTypeHeader) static byte[][]split(byte[] array, int chunkSize)
-
Constructor Details
-
BodyDecoderEncoder
public BodyDecoderEncoder()
-
-
Method Details
-
bodyToByteBuf
-
bodyToByteBuf
-
split
public static byte[][] split(byte[] array, int chunkSize) -
byteBufToBody
-
bytesToBody
-