public class ShutdownHeaders extends Object implements MessageHeaders<EmptyRequestBody,EmptyResponseBody,EmptyMessageParameters>
ShutdownHandler.| Constructor and Description |
|---|
ShutdownHeaders() |
| 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 ShutdownHeaders |
getInstance() |
Class<EmptyRequestBody> |
getRequestClass()
Returns the class of the request message.
|
Class<EmptyResponseBody> |
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, waitgetResponseTypeParametersacceptsFileUploadsgetSupportedAPIVersionspublic Class<EmptyResponseBody> getResponseClass()
MessageHeadersgetResponseClass in interface MessageHeaders<EmptyRequestBody,EmptyResponseBody,EmptyMessageParameters>public org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus getResponseStatusCode()
MessageHeadersgetResponseStatusCode in interface MessageHeaders<EmptyRequestBody,EmptyResponseBody,EmptyMessageParameters>public Class<EmptyRequestBody> getRequestClass()
UntypedResponseMessageHeadersgetRequestClass in interface UntypedResponseMessageHeaders<EmptyRequestBody,EmptyMessageParameters>public EmptyMessageParameters getUnresolvedMessageParameters()
UntypedResponseMessageHeadersMessageParameters object.getUnresolvedMessageParameters in interface UntypedResponseMessageHeaders<EmptyRequestBody,EmptyMessageParameters>public HttpMethodWrapper getHttpMethod()
RestHandlerSpecificationHttpMethodWrapper to be used for the request.getHttpMethod in interface RestHandlerSpecificationpublic String getTargetRestEndpointURL()
RestHandlerSpecification/job/:jobid.getTargetRestEndpointURL in interface RestHandlerSpecificationpublic static ShutdownHeaders getInstance()
public String getDescription()
MessageHeadersgetDescription in interface MessageHeaders<EmptyRequestBody,EmptyResponseBody,EmptyMessageParameters>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.