@Deprecated public class YarnStopJobTerminationHeaders extends Object implements RestHandlerSpecification
RestHandlerSpecification for the JobCancellationHandler which is registered for
compatibility with the Yarn proxy as a GET call.
For more information @see YARN-2031.
| Modifier and Type | Method and Description |
|---|---|
HttpMethodWrapper |
getHttpMethod()
Deprecated.
Returns the
HttpMethodWrapper 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. |
public HttpMethodWrapper getHttpMethod()
RestHandlerSpecificationHttpMethodWrapper to be used for the request.getHttpMethod in interface RestHandlerSpecificationpublic String getTargetRestEndpointURL()
RestHandlerSpecification/job/:jobid.getTargetRestEndpointURL in interface RestHandlerSpecificationpublic static YarnStopJobTerminationHeaders getInstance()
public Collection<RuntimeRestAPIVersion> getSupportedAPIVersions()
RestHandlerSpecificationgetSupportedAPIVersions in interface RestHandlerSpecificationCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.