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