Package | Description |
---|---|
org.apache.hc.core5.http.nio |
Core HTTP transport APIs based on the asynchronous, event driven I/O model.
|
org.apache.hc.core5.http.nio.entity |
HTTP message entity APIs based on the asynchronous (non-blocking) I/O model.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DataStreamChannel
Abstract byte stream channel
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractBinAsyncEntityProducer.produceData(StreamChannel<ByteBuffer> channel)
Triggered to signal the ability of the underlying byte channel
to accept more data.
|
protected abstract void |
AbstractCharAsyncEntityProducer.produceData(StreamChannel<CharBuffer> channel)
Triggered to signal the ability of the underlying char channel
to accept more data.
|
protected void |
StringAsyncEntityProducer.produceData(StreamChannel<CharBuffer> channel) |
Modifier and Type | Method and Description |
---|---|
static AsyncEntityProducer |
AsyncEntityProducers.createBinary(Callback<StreamChannel<ByteBuffer>> callback,
ContentType contentType) |
static AsyncEntityProducer |
AsyncEntityProducers.createBinary(Callback<StreamChannel<ByteBuffer>> callback,
ContentType contentType,
Header... trailers) |
static AsyncEntityProducer |
AsyncEntityProducers.createText(Callback<StreamChannel<CharBuffer>> callback,
ContentType contentType) |
static AsyncEntityProducer |
AsyncEntityProducers.createText(Callback<StreamChannel<CharBuffer>> callback,
ContentType contentType,
Header... trailers) |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.