Class RescalingStatusHeaders
- java.lang.Object
-
- org.apache.flink.runtime.rest.handler.async.AsynchronousOperationStatusMessageHeaders<AsynchronousOperationInfo,RescalingStatusMessageParameters>
-
- org.apache.flink.runtime.rest.handler.job.rescaling.RescalingStatusHeaders
-
- All Implemented Interfaces:
RestHandlerSpecification
,MessageHeaders<EmptyRequestBody,AsynchronousOperationResult<AsynchronousOperationInfo>,RescalingStatusMessageParameters>
,RuntimeMessageHeaders<EmptyRequestBody,AsynchronousOperationResult<AsynchronousOperationInfo>,RescalingStatusMessageParameters>
,UntypedResponseMessageHeaders<EmptyRequestBody,RescalingStatusMessageParameters>
public class RescalingStatusHeaders extends AsynchronousOperationStatusMessageHeaders<AsynchronousOperationInfo,RescalingStatusMessageParameters>
Message headers for polling the status of an ongoing rescaling operation.
-
-
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 RescalingStatusHeaders
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
.RescalingStatusMessageParameters
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
-
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,RescalingStatusMessageParameters>
- Returns:
- value class
-
getRequestClass
public Class<EmptyRequestBody> getRequestClass()
Description copied from interface:UntypedResponseMessageHeaders
Returns 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:MessageHeaders
Returns the http status code for the response.- Returns:
- http status code of the response
-
getUnresolvedMessageParameters
public RescalingStatusMessageParameters 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 RescalingStatusHeaders getInstance()
-
getDescription
public String getDescription()
Description copied from interface:MessageHeaders
Returns the description for this header.- Returns:
- description for the header
-
-