public class JobSubmitHeaders extends Object implements MessageHeaders<JobSubmitRequestBody,JobSubmitResponseBody,EmptyMessageParameters>
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
acceptsFileUploads()
Returns whether this header allows file uploads.
|
String |
getDescription()
Returns the description for this header.
|
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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetResponseTypeParametersgetSupportedAPIVersionspublic Class<JobSubmitRequestBody> getRequestClass()
UntypedResponseMessageHeadersgetRequestClass 在接口中 UntypedResponseMessageHeaders<JobSubmitRequestBody,EmptyMessageParameters>public HttpMethodWrapper getHttpMethod()
RestHandlerSpecificationHttpMethodWrapper to be used for the request.getHttpMethod 在接口中 RestHandlerSpecificationpublic String getTargetRestEndpointURL()
RestHandlerSpecification/job/:jobid.getTargetRestEndpointURL 在接口中 RestHandlerSpecificationpublic Class<JobSubmitResponseBody> getResponseClass()
MessageHeadersgetResponseClass 在接口中 MessageHeaders<JobSubmitRequestBody,JobSubmitResponseBody,EmptyMessageParameters>public org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus getResponseStatusCode()
MessageHeadersgetResponseStatusCode 在接口中 MessageHeaders<JobSubmitRequestBody,JobSubmitResponseBody,EmptyMessageParameters>public EmptyMessageParameters getUnresolvedMessageParameters()
UntypedResponseMessageHeadersMessageParameters object.getUnresolvedMessageParameters 在接口中 UntypedResponseMessageHeaders<JobSubmitRequestBody,EmptyMessageParameters>public static JobSubmitHeaders getInstance()
public String getDescription()
MessageHeadersgetDescription 在接口中 MessageHeaders<JobSubmitRequestBody,JobSubmitResponseBody,EmptyMessageParameters>public boolean acceptsFileUploads()
UntypedResponseMessageHeadersacceptsFileUploads 在接口中 UntypedResponseMessageHeaders<JobSubmitRequestBody,EmptyMessageParameters>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.