| 程序包 | 说明 |
|---|---|
| org.apache.flink.runtime.rest | |
| org.apache.flink.runtime.rest.handler | |
| org.apache.flink.runtime.rest.versioning |
| 限定符和类型 | 方法和说明 |
|---|---|
<M extends MessageHeaders<R,P,U>,U extends MessageParameters,R extends RequestBody,P extends ResponseBody> |
RestClient.sendRequest(String targetAddress,
int targetPort,
M messageHeaders,
U messageParameters,
R request,
Collection<FileUpload> fileUploads,
RestAPIVersion apiVersion) |
| 限定符和类型 | 方法和说明 |
|---|---|
default Collection<RestAPIVersion> |
RestHandlerSpecification.getSupportedAPIVersions()
Returns the supported API versions that this request supports.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static RestAPIVersion |
RestAPIVersion.fromURLVersionPrefix(String prefix)
Converts the given URL version prefix (e.g "v1") to a
RestAPIVersion. |
static RestAPIVersion |
RestAPIVersion.getLatestVersion(Collection<RestAPIVersion> versions)
Returns the latest version from the given collection.
|
static RestAPIVersion |
RestAPIVersion.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static RestAPIVersion[] |
RestAPIVersion.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
RestAPIVersion.RestAPIVersionComparator.compare(RestAPIVersion o1,
RestAPIVersion o2) |
| 限定符和类型 | 方法和说明 |
|---|---|
static RestAPIVersion |
RestAPIVersion.getLatestVersion(Collection<RestAPIVersion> versions)
Returns the latest version from the given collection.
|
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.