@NotThreadSafe public class MultiChunkEncodingInputStream extends InputStream
aws-chunked
encoded input content buffer into its
original form.
For more informaiton about the aws-chunked encoding type, see the AWS S3 REST API reference
https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-streaming.htmlConstructor and Description |
---|
MultiChunkEncodingInputStream(io.netty.buffer.ByteBuf currentContent)
Constructs an
MultiChunkEncodingInputStream with first currentContent. |
Modifier and Type | Method and Description |
---|---|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
setCurrentContent(io.netty.buffer.ByteBuf currentContent)
Sets currentContent with given content.
|
available, close, mark, markSupported, read, reset, skip
public MultiChunkEncodingInputStream(io.netty.buffer.ByteBuf currentContent)
MultiChunkEncodingInputStream
with first currentContent.currentContent
- public void setCurrentContent(io.netty.buffer.ByteBuf currentContent)
currentContent
- public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
Copyright © 2023. All Rights Reserved.