public final class JobMetricsHeaders extends AbstractMetricsHeaders<JobMetricsMessageParameters>
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns the description for this header.
|
static JobMetricsHeaders |
getInstance() |
String |
getTargetRestEndpointURL()
Returns the generalized endpoint url that this request should be sent to, for example
/job/:jobid . |
JobMetricsMessageParameters |
getUnresolvedMessageParameters()
Returns a new
MessageParameters object. |
getHttpMethod, getRequestClass, getResponseClass, getResponseStatusCode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResponseTypeParameters
acceptsFileUploads
public JobMetricsMessageParameters getUnresolvedMessageParameters()
UntypedResponseMessageHeaders
MessageParameters
object.getUnresolvedMessageParameters
in interface UntypedResponseMessageHeaders<EmptyRequestBody,JobMetricsMessageParameters>
getUnresolvedMessageParameters
in class AbstractMetricsHeaders<JobMetricsMessageParameters>
public String getTargetRestEndpointURL()
RestHandlerSpecification
/job/:jobid
.getTargetRestEndpointURL
in interface RestHandlerSpecification
getTargetRestEndpointURL
in class AbstractMetricsHeaders<JobMetricsMessageParameters>
public static JobMetricsHeaders getInstance()
public String getDescription()
MessageHeaders
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.