| 程序包 | 说明 |
|---|---|
| org.apache.hc.core5.http |
Core HTTP transport component APIs.
|
| org.apache.hc.core5.http.impl.bootstrap |
HTTP/1.1 requester and server bootstrap.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static URIScheme |
HttpHost.DEFAULT_SCHEME
The default scheme is "http".
|
| 限定符和类型 | 方法和说明 |
|---|---|
static URIScheme |
URIScheme.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static URIScheme[] |
URIScheme.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
Future<ListenerEndpoint> |
HttpAsyncServer.listen(SocketAddress address,
URIScheme scheme) |
Future<ListenerEndpoint> |
HttpAsyncServer.listen(SocketAddress address,
URIScheme scheme,
FutureCallback<ListenerEndpoint> callback) |
Future<ListenerEndpoint> |
HttpAsyncServer.listen(SocketAddress address,
URIScheme scheme,
Object attachment,
FutureCallback<ListenerEndpoint> callback) |
Copyright © 2023. All rights reserved.