| 程序包 | 说明 |
|---|---|
| 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.support |
Support classes for the asynchronous I/O model.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AsyncServerRequestHandler.ResponseTrigger.submitResponse(AsyncResponseProducer responseProducer,
HttpContext context)
Sends a final HTTP response to the client.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
BasicResponseProducer
Basic implementation of
AsyncResponseProducer that produces one fixed response
and relies on a AsyncEntityProducer to generate response entity stream. |
| 限定符和类型 | 方法和说明 |
|---|---|
AsyncResponseProducer |
AsyncResponseBuilder.build() |
protected AsyncResponseProducer |
BasicAsyncServerExpectationDecorator.verify(HttpRequest request,
HttpContext context) |
| 构造器和说明 |
|---|
ImmediateResponseExchangeHandler(AsyncResponseProducer responseProducer) |
Copyright © 2023. All rights reserved.