Class CancelOperationHeaders
- java.lang.Object
-
- org.apache.flink.table.gateway.rest.header.operation.AbstractOperationHeaders
-
- org.apache.flink.table.gateway.rest.header.operation.CancelOperationHeaders
-
- All Implemented Interfaces:
RestHandlerSpecification
,MessageHeaders<EmptyRequestBody,OperationStatusResponseBody,OperationMessageParameters>
,UntypedResponseMessageHeaders<EmptyRequestBody,OperationMessageParameters>
,SqlGatewayMessageHeaders<EmptyRequestBody,OperationStatusResponseBody,OperationMessageParameters>
public class CancelOperationHeaders extends AbstractOperationHeaders
Message headers for canceling operation.
-
-
Constructor Summary
Constructors Constructor Description CancelOperationHeaders()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Returns the description for this header.HttpMethodWrapper
getHttpMethod()
Returns theHttpMethodWrapper
to be used for the request.static CancelOperationHeaders
getInstance()
String
getTargetRestEndpointURL()
Returns the generalized endpoint url that this request should be sent to, for example/job/:jobid
.String
operationId()
Returns a short description for this header suitable for method code generation.-
Methods inherited from class org.apache.flink.table.gateway.rest.header.operation.AbstractOperationHeaders
getRequestClass, getResponseClass, getResponseStatusCode, getUnresolvedMessageParameters
-
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, getResponseTypeParameters
-
Methods inherited from interface org.apache.flink.table.gateway.rest.header.SqlGatewayMessageHeaders
getSupportedAPIVersions
-
Methods inherited from interface org.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders
acceptsFileUploads
-
-
-
-
Method Detail
-
getDescription
public String getDescription()
Description copied from interface:MessageHeaders
Returns the description for this header.- Returns:
- description for the header
-
getHttpMethod
public HttpMethodWrapper getHttpMethod()
Description copied from interface:RestHandlerSpecification
Returns theHttpMethodWrapper
to be used for the request.- Returns:
- http method to be used for the request
-
getTargetRestEndpointURL
public String getTargetRestEndpointURL()
Description copied from interface:RestHandlerSpecification
Returns the generalized endpoint url that this request should be sent to, for example/job/:jobid
.- Returns:
- endpoint url that this request should be sent to
-
getInstance
public static CancelOperationHeaders getInstance()
-
operationId
public String operationId()
Description copied from interface:MessageHeaders
Returns a short description for this header suitable for method code generation.- Returns:
- short description
-
-