Class StopWithSavepointTriggerHeaders
java.lang.Object
org.apache.flink.runtime.rest.handler.async.AsynchronousOperationTriggerMessageHeaders<StopWithSavepointRequestBody,SavepointTriggerMessageParameters>
org.apache.flink.runtime.rest.messages.job.savepoints.stop.StopWithSavepointTriggerHeaders
- All Implemented Interfaces:
RestHandlerSpecification,MessageHeaders<StopWithSavepointRequestBody,,TriggerResponse, SavepointTriggerMessageParameters> RuntimeMessageHeaders<StopWithSavepointRequestBody,,TriggerResponse, SavepointTriggerMessageParameters> UntypedResponseMessageHeaders<StopWithSavepointRequestBody,SavepointTriggerMessageParameters>
public class StopWithSavepointTriggerHeaders
extends AsynchronousOperationTriggerMessageHeaders<StopWithSavepointRequestBody,SavepointTriggerMessageParameters>
These headers define the protocol for triggering a "stop" action.
-
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns the description for this async operation header.Returns theHttpMethodWrapperto be used for the request.Returns the class of the request message.org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatusReturns the http status code for the response.Returns the generalized endpoint url that this request should be sent to, for example/job/:jobid.Returns a newMessageParametersobject.Returns a short description for this header suitable for method code generation.Methods inherited from class org.apache.flink.runtime.rest.handler.async.AsynchronousOperationTriggerMessageHeaders
getDescription, getResponseClassMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.runtime.rest.messages.MessageHeaders
getCustomHeaders, getResponseTypeParametersMethods inherited from interface org.apache.flink.runtime.rest.messages.RuntimeMessageHeaders
getSupportedAPIVersionsMethods inherited from interface org.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders
acceptsFileUploads
-
Method Details
-
getRequestClass
Description copied from interface:UntypedResponseMessageHeadersReturns the class of the request message.- Returns:
- class of the request message
-
getResponseStatusCode
public org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus getResponseStatusCode()Description copied from interface:MessageHeadersReturns the http status code for the response.- Returns:
- http status code of the response
-
getUnresolvedMessageParameters
Description copied from interface:UntypedResponseMessageHeadersReturns a newMessageParametersobject.- Returns:
- new message parameters object
-
getHttpMethod
Description copied from interface:RestHandlerSpecificationReturns theHttpMethodWrapperto be used for the request.- Returns:
- http method to be used for the request
-
getTargetRestEndpointURL
Description copied from interface:RestHandlerSpecificationReturns 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
-
getAsyncOperationDescription
Description copied from class:AsynchronousOperationTriggerMessageHeadersReturns the description for this async operation header.- Specified by:
getAsyncOperationDescriptionin classAsynchronousOperationTriggerMessageHeaders<StopWithSavepointRequestBody,SavepointTriggerMessageParameters> - Returns:
- the description for this async operation header.
-
operationId
Description copied from interface:MessageHeadersReturns a short description for this header suitable for method code generation.- Returns:
- short description
-