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