public class BlockingTransferInputStream extends InputStream
InputStream
to be used when the HTTP request
has Transfer-Encoding: chunked or the content is not fully provided because the
message is too large.
This InputStream
implementation does a blocking read
over the HTTP connection to read the next chunk when there is no more
data available.Constructor and Description |
---|
BlockingTransferInputStream(org.glassfish.grizzly.filterchain.FilterChainContext filterChainContext,
InputStream firstChunk) |
Modifier and Type | Method and Description |
---|---|
int |
read() |
available, close, mark, markSupported, read, read, reset, skip
public BlockingTransferInputStream(org.glassfish.grizzly.filterchain.FilterChainContext filterChainContext, InputStream firstChunk)
public int read() throws IOException
read
in class InputStream
IOException
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.