Class AbstractEmbeddedSchedulerWorkflowHeaders
- java.lang.Object
-
- org.apache.flink.table.gateway.rest.header.materializedtable.scheduler.AbstractEmbeddedSchedulerWorkflowHeaders
-
- All Implemented Interfaces:
RestHandlerSpecification
,MessageHeaders<EmbeddedSchedulerWorkflowRequestBody,EmptyResponseBody,EmptyMessageParameters>
,UntypedResponseMessageHeaders<EmbeddedSchedulerWorkflowRequestBody,EmptyMessageParameters>
,SqlGatewayMessageHeaders<EmbeddedSchedulerWorkflowRequestBody,EmptyResponseBody,EmptyMessageParameters>
- Direct Known Subclasses:
DeleteEmbeddedSchedulerWorkflowHeaders
,SuspendEmbeddedSchedulerWorkflowHeaders
public abstract class AbstractEmbeddedSchedulerWorkflowHeaders extends Object implements SqlGatewayMessageHeaders<EmbeddedSchedulerWorkflowRequestBody,EmptyResponseBody,EmptyMessageParameters>
Abstract modify and delete workflow related message headers.
-
-
Constructor Summary
Constructors Constructor Description AbstractEmbeddedSchedulerWorkflowHeaders()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<EmbeddedSchedulerWorkflowRequestBody>
getRequestClass()
Returns the class of the request message.Class<EmptyResponseBody>
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.Collection<? extends RestAPIVersion<?>>
getSupportedAPIVersions()
Returns the supported API versions that this request supports.EmptyMessageParameters
getUnresolvedMessageParameters()
Returns a newMessageParameters
object.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.runtime.rest.messages.MessageHeaders
getCustomHeaders, getDescription, getResponseTypeParameters, operationId
-
Methods inherited from interface org.apache.flink.runtime.rest.handler.RestHandlerSpecification
getHttpMethod, getTargetRestEndpointURL
-
Methods inherited from interface org.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders
acceptsFileUploads
-
-
-
-
Method Detail
-
getResponseStatusCode
public org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus getResponseStatusCode()
Description copied from interface:MessageHeaders
Returns the http status code for the response.- Specified by:
getResponseStatusCode
in interfaceMessageHeaders<EmbeddedSchedulerWorkflowRequestBody,EmptyResponseBody,EmptyMessageParameters>
- Returns:
- http status code of the response
-
getResponseClass
public Class<EmptyResponseBody> getResponseClass()
Description copied from interface:MessageHeaders
Returns the class of the response message.- Specified by:
getResponseClass
in interfaceMessageHeaders<EmbeddedSchedulerWorkflowRequestBody,EmptyResponseBody,EmptyMessageParameters>
- Returns:
- class of the response message
-
getRequestClass
public Class<EmbeddedSchedulerWorkflowRequestBody> getRequestClass()
Description copied from interface:UntypedResponseMessageHeaders
Returns the class of the request message.- Specified by:
getRequestClass
in interfaceUntypedResponseMessageHeaders<EmbeddedSchedulerWorkflowRequestBody,EmptyMessageParameters>
- Returns:
- class of the request message
-
getUnresolvedMessageParameters
public EmptyMessageParameters getUnresolvedMessageParameters()
Description copied from interface:UntypedResponseMessageHeaders
Returns a newMessageParameters
object.- Specified by:
getUnresolvedMessageParameters
in interfaceUntypedResponseMessageHeaders<EmbeddedSchedulerWorkflowRequestBody,EmptyMessageParameters>
- Returns:
- new message parameters object
-
getSupportedAPIVersions
public Collection<? extends RestAPIVersion<?>> getSupportedAPIVersions()
Description copied from interface:RestHandlerSpecification
Returns the supported API versions that this request supports.- Specified by:
getSupportedAPIVersions
in interfaceRestHandlerSpecification
- Specified by:
getSupportedAPIVersions
in interfaceSqlGatewayMessageHeaders<EmbeddedSchedulerWorkflowRequestBody,EmptyResponseBody,EmptyMessageParameters>
- Returns:
- Collection of supported API versions
-
-