public class ByteArrayMultipartPart extends FileLikeMultipartPart<ByteArrayPart>
boundary, CRLF_BYTES, EXTRA_BYTES, part, state| Constructor and Description |
|---|
ByteArrayMultipartPart(ByteArrayPart part,
byte[] boundary) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected long |
getContentLength() |
protected long |
transferContentTo(io.netty.buffer.ByteBuf target) |
protected long |
transferContentTo(WritableByteChannel target) |
visitDispositionHeadercomputePostContentBytes, computePostContentLength, computePreContentBytes, computePreContentLength, getState, isTargetSlow, length, transfer, transfer, transferTo, transferTo, visitContentIdHeader, visitContentTypeHeader, visitCustomHeaders, visitEndOfHeaders, visitPostContent, visitPreContent, visitStart, visitTransferEncodingHeaderpublic ByteArrayMultipartPart(ByteArrayPart part, byte[] boundary)
protected long getContentLength()
getContentLength in class MultipartPart<ByteArrayPart>protected long transferContentTo(io.netty.buffer.ByteBuf target)
transferContentTo in class MultipartPart<ByteArrayPart>protected long transferContentTo(WritableByteChannel target) throws IOException
transferContentTo in class MultipartPart<ByteArrayPart>IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class MultipartPart<ByteArrayPart>Copyright © 2019. All rights reserved.