Interface SqlGatewayMessageHeaders<R extends RequestBody,P extends ResponseBody,M extends MessageParameters>
-
- Type Parameters:
R
- request message typeP
- response message typeM
- message parameters type
- All Superinterfaces:
MessageHeaders<R,P,M>
,RestHandlerSpecification
,UntypedResponseMessageHeaders<R,M>
- All Known Implementing Classes:
AbstractEmbeddedSchedulerWorkflowHeaders
,AbstractOperationHeaders
,CancelOperationHeaders
,CloseOperationHeaders
,CloseSessionHeaders
,CompleteStatementHeaders
,ConfigureSessionHeaders
,CreateEmbeddedSchedulerWorkflowHeaders
,DeleteEmbeddedSchedulerWorkflowHeaders
,ExecuteStatementHeaders
,FetchResultsHeaders
,GetApiVersionHeaders
,GetInfoHeaders
,GetOperationStatusHeaders
,GetSessionConfigHeaders
,OpenSessionHeaders
,RefreshMaterializedTableHeaders
,ResumeEmbeddedSchedulerWorkflowHeaders
,SuspendEmbeddedSchedulerWorkflowHeaders
,TriggerSessionHeartbeatHeaders
public interface SqlGatewayMessageHeaders<R extends RequestBody,P extends ResponseBody,M extends MessageParameters> extends MessageHeaders<R,P,M>
This class linksRequestBody
s toResponseBody
s types and contains meta-data required for their http headers in runtime module.Implementations must be state-less.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Collection<? extends RestAPIVersion<?>>
getSupportedAPIVersions()
Returns the supported API versions that this request supports.-
Methods inherited from interface org.apache.flink.runtime.rest.messages.MessageHeaders
getCustomHeaders, getDescription, getResponseClass, getResponseStatusCode, 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, getRequestClass, getUnresolvedMessageParameters
-
-
-
-
Method Detail
-
getSupportedAPIVersions
default Collection<? extends RestAPIVersion<?>> getSupportedAPIVersions()
Description copied from interface:RestHandlerSpecification
Returns the supported API versions that this request supports.- Specified by:
getSupportedAPIVersions
in interfaceRestHandlerSpecification
- Returns:
- Collection of supported API versions
-
-