public class InputStreamMultipartPart extends FileLikeMultipartPart<InputStreamPart>
boundary, CRLF_BYTES, EXTRA_BYTES, part, state| Constructor and Description |
|---|
InputStreamMultipartPart(InputStreamPart 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 InputStreamMultipartPart(InputStreamPart part, byte[] boundary)
protected long getContentLength()
getContentLength in class MultipartPart<InputStreamPart>protected long transferContentTo(io.netty.buffer.ByteBuf target)
throws IOException
transferContentTo in class MultipartPart<InputStreamPart>IOExceptionprotected long transferContentTo(WritableByteChannel target) throws IOException
transferContentTo in class MultipartPart<InputStreamPart>IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class MultipartPart<InputStreamPart>Copyright © 2019. All rights reserved.