Package org.takes.rq.multipart
Class CopyBytesUntilBoundary
- java.lang.Object
-
- org.takes.rq.multipart.CopyBytesUntilBoundary
-
public final class CopyBytesUntilBoundary extends Object
Copy bytes until boundary reached.- Since:
- 1.19
-
-
Constructor Summary
Constructors Constructor Description CopyBytesUntilBoundary(WritableByteChannel target, byte[] boundary, ReadableByteChannel src, ByteBuffer buffer)
Ctor.
-
-
-
Constructor Detail
-
CopyBytesUntilBoundary
public CopyBytesUntilBoundary(WritableByteChannel target, byte[] boundary, ReadableByteChannel src, ByteBuffer buffer)
Ctor.- Parameters:
target
- Targetboundary
- Boundarysrc
- Sourcebuffer
- Buffer
-
-
Method Detail
-
copy
public void copy() throws IOException
Run pipeline.- Throws:
IOException
- If problems found in
-
-