public class MessageEndMultipartPart extends MultipartPart<FileLikePart>
boundary, part, 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(java.nio.channels.WritableByteChannel target) |
long |
transferTo(io.netty.buffer.ByteBuf target) |
long |
transferTo(java.nio.channels.WritableByteChannel target) |
getState, isTargetSlow, length, transfer, transfer, visitContentIdHeader, visitContentTypeHeader, visitCustomHeaders, visitDispositionHeader, visitEndOfHeaders, visitPostContent, visitPreContent, visitStart, visitTransferEncodingHeaderpublic long transferTo(io.netty.buffer.ByteBuf target)
transferTo in class MultipartPart<FileLikePart>public long transferTo(java.nio.channels.WritableByteChannel target)
throws java.io.IOException
transferTo in class MultipartPart<FileLikePart>java.io.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)
transferContentTo in class MultipartPart<FileLikePart>protected long transferContentTo(java.nio.channels.WritableByteChannel target)
transferContentTo in class MultipartPart<FileLikePart>public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class MultipartPart<FileLikePart>Copyright © 2018. All Rights Reserved.