@Deprecated public class YarnStopJobTerminationHeaders extends Object implements RestHandlerSpecification
RestHandlerSpecification
for the JobTerminationHandler
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, wait
getSupportedAPIVersions
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()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.