| 程序包 | 说明 |
|---|---|
| org.apache.hc.client5.http.nio |
Connection management APIs based on the asynchronous I/O model.
|
| org.apache.hc.core5.http.nio.command |
Commands for HTTP transports based on asynchronous, event driven I/O model.
|
| org.apache.hc.core5.http2.nio.command |
HTTP/2 specific commands for HTTP/2 transport based
on asynchronous, event driven I/O model.
|
| org.apache.hc.core5.reactor |
Event driven network communication APIs and components loosely based on
Doug Lea's
reactor pattern.
|
| org.apache.hc.core5.reactor.ssl |
TLS/SSL support for I/O reactors.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ManagedAsyncClientConnection.submitCommand(Command command,
Command.Priority priority)
Submits the given command for execution.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ExecutableCommand
Abstract executable command that may need to do some cleaning up
in case of an failure and also optionally may want to cancel
the associated HTTP message exchange through
CancellableDependency. |
class |
RequestExecutionCommand
Request execution command.
|
class |
ShutdownCommand
Shutdown command.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
PingCommand
HTTP/2 ping command.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Command |
IOSession.poll()
Removes first
Command from the command queue if available. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
IOSession.enqueue(Command command,
Command.Priority priority)
Inserts
Command at the end of the command queue. |
| 限定符和类型 | 方法和说明 |
|---|---|
Command |
SSLIOSession.poll() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SSLIOSession.enqueue(Command command,
Command.Priority priority) |
Copyright © 2023. All rights reserved.