public class FileMultipartPart extends FileLikeMultipartPart<FilePart>
boundary, part, QUOTE_BYTE, slowTarget, state
Constructor and Description |
---|
FileMultipartPart(FilePart 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) |
visitDispositionHeader
computePostContentBytes, computePostContentLength, computePreContentBytes, computePreContentLength, getState, isTargetSlow, length, transfer, transfer, transferTo, transferTo, visitContentIdHeader, visitContentTypeHeader, visitCustomHeaders, visitEndOfHeaders, visitPostContent, visitPreContent, visitStart, visitTransferEncodingHeader
public FileMultipartPart(FilePart part, byte[] boundary)
protected long getContentLength()
getContentLength
in class MultipartPart<FilePart>
protected long transferContentTo(io.netty.buffer.ByteBuf target) throws IOException
transferContentTo
in class MultipartPart<FilePart>
IOException
protected long transferContentTo(WritableByteChannel target) throws IOException
transferContentTo
in class MultipartPart<FilePart>
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class MultipartPart<FilePart>
Copyright © 2017. All Rights Reserved.