public abstract class AbstractAggregatedMetricsHeaders<P extends AbstractAggregatedMetricsParameters<?>> extends Object implements RuntimeMessageHeaders<EmptyRequestBody,AggregatedMetricsResponseBody,P>
MessageHeaders
class for aggregating metrics.Constructor and Description |
---|
AbstractAggregatedMetricsHeaders() |
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<AggregatedMetricsResponseBody> |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSupportedAPIVersions
getCustomHeaders, getDescription, getResponseTypeParameters, operationId
acceptsFileUploads, getUnresolvedMessageParameters
getTargetRestEndpointURL
public Class<AggregatedMetricsResponseBody> getResponseClass()
MessageHeaders
getResponseClass
in interface MessageHeaders<EmptyRequestBody,AggregatedMetricsResponseBody,P extends AbstractAggregatedMetricsParameters<?>>
public org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus getResponseStatusCode()
MessageHeaders
getResponseStatusCode
in interface MessageHeaders<EmptyRequestBody,AggregatedMetricsResponseBody,P extends AbstractAggregatedMetricsParameters<?>>
public Class<EmptyRequestBody> getRequestClass()
UntypedResponseMessageHeaders
getRequestClass
in interface UntypedResponseMessageHeaders<EmptyRequestBody,P extends AbstractAggregatedMetricsParameters<?>>
public HttpMethodWrapper getHttpMethod()
RestHandlerSpecification
HttpMethodWrapper
to be used for the request.getHttpMethod
in interface RestHandlerSpecification
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.