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.RestHandlerSpecificationfor theJobCancellationHandlerwhich 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 HttpMethodWrappergetHttpMethod()Deprecated.Returns theHttpMethodWrapperto be used for the request.static YarnStopJobTerminationHeadersgetInstance()Deprecated.Collection<RuntimeRestAPIVersion>getSupportedAPIVersions()Deprecated.Returns the supported API versions that this request supports.StringgetTargetRestEndpointURL()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:RestHandlerSpecificationReturns theHttpMethodWrapperto be used for the request.- Specified by:
getHttpMethodin interfaceRestHandlerSpecification- Returns:
- http method to be used for the request
-
getTargetRestEndpointURL
public String 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
public static YarnStopJobTerminationHeaders getInstance()
Deprecated.
-
getSupportedAPIVersions
public Collection<RuntimeRestAPIVersion> 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
-
-