public class JobPlanHeaders extends Object implements RuntimeMessageHeaders<EmptyRequestBody,JobPlanInfo,JobMessageParameters>
JobPlanHandler
.Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns the description for this header.
|
HttpMethodWrapper |
getHttpMethod()
Returns the
HttpMethodWrapper to be used for the request. |
static JobPlanHeaders |
getInstance() |
Class<EmptyRequestBody> |
getRequestClass()
Returns the class of the request message.
|
Class<JobPlanInfo> |
getResponseClass()
Returns the class of the response 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 . |
JobMessageParameters |
getUnresolvedMessageParameters()
Returns a new
MessageParameters object. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSupportedAPIVersions
getCustomHeaders, getResponseTypeParameters, operationId
acceptsFileUploads
public static final String URL
public Class<EmptyRequestBody> getRequestClass()
UntypedResponseMessageHeaders
getRequestClass
in interface UntypedResponseMessageHeaders<EmptyRequestBody,JobMessageParameters>
public Class<JobPlanInfo> getResponseClass()
MessageHeaders
getResponseClass
in interface MessageHeaders<EmptyRequestBody,JobPlanInfo,JobMessageParameters>
public org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus getResponseStatusCode()
MessageHeaders
getResponseStatusCode
in interface MessageHeaders<EmptyRequestBody,JobPlanInfo,JobMessageParameters>
public JobMessageParameters getUnresolvedMessageParameters()
UntypedResponseMessageHeaders
MessageParameters
object.getUnresolvedMessageParameters
in interface UntypedResponseMessageHeaders<EmptyRequestBody,JobMessageParameters>
public HttpMethodWrapper getHttpMethod()
RestHandlerSpecification
HttpMethodWrapper
to be used for the request.getHttpMethod
in interface RestHandlerSpecification
public String getTargetRestEndpointURL()
RestHandlerSpecification
/job/:jobid
.getTargetRestEndpointURL
in interface RestHandlerSpecification
public static JobPlanHeaders getInstance()
public String getDescription()
MessageHeaders
getDescription
in interface MessageHeaders<EmptyRequestBody,JobPlanInfo,JobMessageParameters>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.