public class MessageEndMultipartPart extends MultipartPart<FileLikePart>
boundary, part, QUOTE_BYTE, slowTarget, state| Constructor and Description |
|---|
MessageEndMultipartPart(byte[] boundary) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected io.netty.buffer.ByteBuf |
computePostContentBytes(int postContentLength) |
protected int |
computePostContentLength() |
protected io.netty.buffer.ByteBuf |
computePreContentBytes(int preContentLength) |
protected int |
computePreContentLength() |
protected long |
getContentLength() |
protected long |
transferContentTo(io.netty.buffer.ByteBuf target) |
protected long |
transferContentTo(WritableByteChannel target) |
long |
transferTo(io.netty.buffer.ByteBuf target) |
long |
transferTo(WritableByteChannel target) |
getState, isTargetSlow, length, transfer, transfer, visitContentIdHeader, visitContentTypeHeader, visitCustomHeaders, visitDispositionHeader, visitEndOfHeaders, visitPostContent, visitPreContent, visitStart, visitTransferEncodingHeaderpublic long transferTo(io.netty.buffer.ByteBuf target)
throws IOException
transferTo in class MultipartPart<FileLikePart>IOExceptionpublic long transferTo(WritableByteChannel target) throws IOException
transferTo in class MultipartPart<FileLikePart>IOExceptionprotected int computePreContentLength()
computePreContentLength in class MultipartPart<FileLikePart>protected io.netty.buffer.ByteBuf computePreContentBytes(int preContentLength)
computePreContentBytes in class MultipartPart<FileLikePart>protected int computePostContentLength()
computePostContentLength in class MultipartPart<FileLikePart>protected io.netty.buffer.ByteBuf computePostContentBytes(int postContentLength)
computePostContentBytes in class MultipartPart<FileLikePart>protected long getContentLength()
getContentLength in class MultipartPart<FileLikePart>protected long transferContentTo(io.netty.buffer.ByteBuf target)
throws IOException
transferContentTo in class MultipartPart<FileLikePart>IOExceptionprotected long transferContentTo(WritableByteChannel target) throws IOException
transferContentTo in class MultipartPart<FileLikePart>IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class MultipartPart<FileLikePart>Copyright © 2017. All Rights Reserved.