Class YarnCancelJobTerminationHeaders
java.lang.Object
org.apache.flink.runtime.rest.messages.YarnCancelJobTerminationHeaders
- All Implemented Interfaces:
RestHandlerSpecification
@Deprecated
public class YarnCancelJobTerminationHeaders
extends Object
implements RestHandlerSpecification
Deprecated.
This should be removed once we can send arbitrary REST calls via the Yarn proxy.
RestHandlerSpecification for the JobCancellationHandler which is registered for
compatibility with the Yarn proxy as a GET call.
For more information @see YARN-2031.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns theHttpMethodWrapperto be used for the request.Deprecated.Deprecated.Returns the supported API versions that this request supports.Deprecated.Returns the generalized endpoint url that this request should be sent to, for example/job/:jobid.
-
Method Details
-
getHttpMethod
Deprecated.Description copied from interface:RestHandlerSpecificationReturns theHttpMethodWrapperto be used for the request.- Specified by:
getHttpMethodin interfaceRestHandlerSpecification- Returns:
- http method to be used for the request
-
getTargetRestEndpointURL
Deprecated.Description copied from interface:RestHandlerSpecificationReturns the generalized endpoint url that this request should be sent to, for example/job/:jobid.- Specified by:
getTargetRestEndpointURLin interfaceRestHandlerSpecification- Returns:
- endpoint url that this request should be sent to
-
getInstance
Deprecated. -
getSupportedAPIVersions
Deprecated.Description copied from interface:RestHandlerSpecificationReturns the supported API versions that this request supports.- Specified by:
getSupportedAPIVersionsin interfaceRestHandlerSpecification- Returns:
- Collection of supported API versions
-