Class YarnStopJobTerminationHeaders
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.YarnStopJobTerminationHeaders
-
- All Implemented Interfaces:
RestHandlerSpecification
@Deprecated public class YarnStopJobTerminationHeaders extends Object implements RestHandlerSpecification
Deprecated.This should be removed once we can send arbitrary REST calls via the Yarn proxy.RestHandlerSpecification
for theJobCancellationHandler
which is registered for compatibility with the Yarn proxy as a GET call.For more information @see YARN-2031.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description HttpMethodWrapper
getHttpMethod()
Deprecated.Returns theHttpMethodWrapper
to be used for the request.static YarnStopJobTerminationHeaders
getInstance()
Deprecated.Collection<RuntimeRestAPIVersion>
getSupportedAPIVersions()
Deprecated.Returns the supported API versions that this request supports.String
getTargetRestEndpointURL()
Deprecated.Returns the generalized endpoint url that this request should be sent to, for example/job/:jobid
.
-
-
-
Method Detail
-
getHttpMethod
public HttpMethodWrapper getHttpMethod()
Deprecated.Description copied from interface:RestHandlerSpecification
Returns theHttpMethodWrapper
to be used for the request.- Specified by:
getHttpMethod
in interfaceRestHandlerSpecification
- Returns:
- http method to be used for the request
-
getTargetRestEndpointURL
public String getTargetRestEndpointURL()
Deprecated.Description copied from interface:RestHandlerSpecification
Returns the generalized endpoint url that this request should be sent to, for example/job/:jobid
.- Specified by:
getTargetRestEndpointURL
in interfaceRestHandlerSpecification
- Returns:
- endpoint url that this request should be sent to
-
getInstance
public static YarnStopJobTerminationHeaders getInstance()
Deprecated.
-
getSupportedAPIVersions
public Collection<RuntimeRestAPIVersion> getSupportedAPIVersions()
Deprecated.Description copied from interface:RestHandlerSpecification
Returns the supported API versions that this request supports.- Specified by:
getSupportedAPIVersions
in interfaceRestHandlerSpecification
- Returns:
- Collection of supported API versions
-
-