| 程序包 | 说明 |
|---|---|
| com.firefly.client.http2 | |
| com.firefly.codec.http2.model | |
| com.firefly.server.http2 | |
| com.firefly.server.http2.router | |
| com.firefly.server.http2.router.impl |
| 限定符和类型 | 方法和说明 |
|---|---|
SimpleHTTPClient.RequestBuilder |
SimpleHTTPClient.request(HttpMethod method,
String url)
Create a RequestBuilder with HTTP method and URL.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static Trie<HttpMethod> |
HttpMethod.CACHE |
| 限定符和类型 | 方法和说明 |
|---|---|
static HttpMethod |
HttpMethod.fromString(String method)
Converts the given String parameter to an HttpMethod
|
static HttpMethod |
HttpMethod.lookAheadGet(byte[] bytes,
int position,
int limit)
Optimized lookup to find a method name and trailing space in a byte
array.
|
static HttpMethod |
HttpMethod.lookAheadGet(ByteBuffer buffer)
Optimized lookup to find a method name and trailing space in a byte
array.
|
static HttpMethod |
HttpMethod.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static HttpMethod[] |
HttpMethod.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
HTTP2ServerBuilder |
HTTP2ServerBuilder.method(HttpMethod httpMethod) |
HTTP2ServerBuilder |
HTTP2ServerBuilder.methods(HttpMethod[] methods) |
| 限定符和类型 | 方法和说明 |
|---|---|
Router |
Router.method(HttpMethod httpMethod) |
| 限定符和类型 | 方法和说明 |
|---|---|
Router |
RouterImpl.method(HttpMethod httpMethod) |
Copyright © 2017. All rights reserved.