@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.
|
String |
getTargetRestEndpointURL()
Deprecated.
Returns the generalized endpoint url that this request should be sent to, for example
/job/:jobid. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSupportedAPIVersionspublic 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()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.