public class JobSubmitHeaders extends Object implements MessageHeaders<JobSubmitRequestBody,JobSubmitResponseBody,EmptyMessageParameters>
Modifier and Type | Method and Description |
---|---|
HttpMethodWrapper |
getHttpMethod()
Returns the
HttpMethodWrapper to be used for the request. |
static JobSubmitHeaders |
getInstance() |
Class<JobSubmitRequestBody> |
getRequestClass()
Returns the class of the request message.
|
Class<JobSubmitResponseBody> |
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 . |
EmptyMessageParameters |
getUnresolvedMessageParameters()
Returns a new
MessageParameters object. |
public Class<JobSubmitRequestBody> getRequestClass()
MessageHeaders
getRequestClass
in interface MessageHeaders<JobSubmitRequestBody,JobSubmitResponseBody,EmptyMessageParameters>
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 Class<JobSubmitResponseBody> getResponseClass()
MessageHeaders
getResponseClass
in interface MessageHeaders<JobSubmitRequestBody,JobSubmitResponseBody,EmptyMessageParameters>
public org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus getResponseStatusCode()
MessageHeaders
getResponseStatusCode
in interface MessageHeaders<JobSubmitRequestBody,JobSubmitResponseBody,EmptyMessageParameters>
public EmptyMessageParameters getUnresolvedMessageParameters()
MessageHeaders
MessageParameters
object.getUnresolvedMessageParameters
in interface MessageHeaders<JobSubmitRequestBody,JobSubmitResponseBody,EmptyMessageParameters>
public static JobSubmitHeaders getInstance()
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.