| Package | Description |
|---|---|
| org.apache.flink.runtime.rest | |
| org.apache.flink.runtime.rest.handler | |
| org.apache.flink.runtime.rest.versioning |
| Modifier and Type | Method and Description |
|---|---|
<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) |
| Modifier and Type | Method and Description |
|---|---|
default Collection<RestAPIVersion> |
RestHandlerSpecification.getSupportedAPIVersions()
Returns the supported API versions that this request supports.
|
| Modifier and Type | Method and Description |
|---|---|
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)
Returns the enum constant of this type with the specified name.
|
static RestAPIVersion[] |
RestAPIVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
int |
RestAPIVersion.RestAPIVersionComparator.compare(RestAPIVersion o1,
RestAPIVersion o2) |
| Modifier and Type | Method and Description |
|---|---|
static RestAPIVersion |
RestAPIVersion.getLatestVersion(Collection<RestAPIVersion> versions)
Returns the latest version from the given collection.
|
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.