Class SavepointDisposalStatusHeaders
- java.lang.Object
-
- org.apache.flink.runtime.rest.handler.async.AsynchronousOperationStatusMessageHeaders<AsynchronousOperationInfo,SavepointDisposalStatusMessageParameters>
-
- org.apache.flink.runtime.rest.messages.job.savepoints.SavepointDisposalStatusHeaders
-
- All Implemented Interfaces:
RestHandlerSpecification
,MessageHeaders<EmptyRequestBody,AsynchronousOperationResult<AsynchronousOperationInfo>,SavepointDisposalStatusMessageParameters>
,RuntimeMessageHeaders<EmptyRequestBody,AsynchronousOperationResult<AsynchronousOperationInfo>,SavepointDisposalStatusMessageParameters>
,UntypedResponseMessageHeaders<EmptyRequestBody,SavepointDisposalStatusMessageParameters>
public class SavepointDisposalStatusHeaders extends AsynchronousOperationStatusMessageHeaders<AsynchronousOperationInfo,SavepointDisposalStatusMessageParameters>
AsynchronousOperationTriggerMessageHeaders
implementation for theSavepointDisposalHandlers.SavepointDisposalStatusHandler
.
-
-
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 SavepointDisposalStatusHeaders
getInstance()
Class<EmptyRequestBody>
getRequestClass()
Returns the class of the request message.org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus
getResponseStatusCode()
Returns the http status code for the response.String
getTargetRestEndpointURL()
Returns the generalized endpoint url that this request should be sent to, for example/job/:jobid
.SavepointDisposalStatusMessageParameters
getUnresolvedMessageParameters()
Returns a newMessageParameters
object.Class<AsynchronousOperationInfo>
getValueClass()
Returns the class of the value wrapped in theAsynchronousOperationResult
.-
Methods inherited from class org.apache.flink.runtime.rest.handler.async.AsynchronousOperationStatusMessageHeaders
getResponseClass, getResponseTypeParameters
-
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, operationId
-
Methods inherited from interface org.apache.flink.runtime.rest.messages.RuntimeMessageHeaders
getSupportedAPIVersions
-
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.- Returns:
- http status code of the response
-
getRequestClass
public Class<EmptyRequestBody> getRequestClass()
Description copied from interface:UntypedResponseMessageHeaders
Returns the class of the request message.- Returns:
- class of the request message
-
getUnresolvedMessageParameters
public SavepointDisposalStatusMessageParameters getUnresolvedMessageParameters()
Description copied from interface:UntypedResponseMessageHeaders
Returns a newMessageParameters
object.- Returns:
- new message parameters object
-
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 SavepointDisposalStatusHeaders getInstance()
-
getValueClass
public Class<AsynchronousOperationInfo> getValueClass()
Description copied from class:AsynchronousOperationStatusMessageHeaders
Returns the class of the value wrapped in theAsynchronousOperationResult
.- Specified by:
getValueClass
in classAsynchronousOperationStatusMessageHeaders<AsynchronousOperationInfo,SavepointDisposalStatusMessageParameters>
- Returns:
- value class
-
getDescription
public String getDescription()
Description copied from interface:MessageHeaders
Returns the description for this header.- Returns:
- description for the header
-
-