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, visitTransferEncodingHeader
public 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>
IOException
protected long transferContentTo(WritableByteChannel target) throws IOException
transferContentTo
in class MultipartPart<StringPart>
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class MultipartPart<StringPart>
Copyright © 2017. All Rights Reserved.