public abstract class AbstractMetricsHeaders<M extends MessageParameters> extends Object implements RuntimeMessageHeaders<EmptyRequestBody,MetricCollectionResponseBody,M>
| Constructor and Description |
|---|
AbstractMetricsHeaders() |
| Modifier and Type | Method and Description |
|---|---|
HttpMethodWrapper |
getHttpMethod()
Returns the
HttpMethodWrapper to be used for the request. |
Class<EmptyRequestBody> |
getRequestClass()
Returns the class of the request message.
|
Class<MetricCollectionResponseBody> |
getResponseClass()
Returns the class of the response message.
|
org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus |
getResponseStatusCode()
Returns the http status code for the response.
|
abstract String |
getTargetRestEndpointURL()
Returns the generalized endpoint url that this request should be sent to, for example
/job/:jobid. |
abstract M |
getUnresolvedMessageParameters()
Returns a new
MessageParameters object. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSupportedAPIVersionsgetCustomHeaders, getDescription, getResponseTypeParameters, operationIdacceptsFileUploadspublic Class<EmptyRequestBody> getRequestClass()
UntypedResponseMessageHeadersgetRequestClass in interface UntypedResponseMessageHeaders<EmptyRequestBody,M extends MessageParameters>public Class<MetricCollectionResponseBody> getResponseClass()
MessageHeadersgetResponseClass in interface MessageHeaders<EmptyRequestBody,MetricCollectionResponseBody,M extends MessageParameters>public org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus getResponseStatusCode()
MessageHeadersgetResponseStatusCode in interface MessageHeaders<EmptyRequestBody,MetricCollectionResponseBody,M extends MessageParameters>public abstract M getUnresolvedMessageParameters()
UntypedResponseMessageHeadersMessageParameters object.getUnresolvedMessageParameters in interface UntypedResponseMessageHeaders<EmptyRequestBody,M extends MessageParameters>public HttpMethodWrapper getHttpMethod()
RestHandlerSpecificationHttpMethodWrapper to be used for the request.getHttpMethod in interface RestHandlerSpecificationpublic abstract String getTargetRestEndpointURL()
RestHandlerSpecification/job/:jobid.getTargetRestEndpointURL in interface RestHandlerSpecificationCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.