@Deprecated public class YarnCancelJobTerminationHeaders 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 YarnCancelJobTerminationHeaders |
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()
RestHandlerSpecification
HttpMethodWrapper
to be used for the request.getHttpMethod
in interface RestHandlerSpecification
public String getTargetRestEndpointURL()
RestHandlerSpecification
/job/:jobid
.getTargetRestEndpointURL
in interface RestHandlerSpecification
public static YarnCancelJobTerminationHeaders getInstance()
public Collection<RuntimeRestAPIVersion> getSupportedAPIVersions()
RestHandlerSpecification
getSupportedAPIVersions
in interface RestHandlerSpecification
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.