public class ConfigureSessionHeaders extends Object implements SqlGatewayMessageHeaders<ConfigureSessionRequestBody,EmptyResponseBody,SessionMessageParameters>
Constructor and Description |
---|
ConfigureSessionHeaders() |
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 ConfigureSessionHeaders |
getInstance() |
Class<ConfigureSessionRequestBody> |
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.
|
Collection<? extends RestAPIVersion<?>> |
getSupportedAPIVersions()
Returns the supported API versions that this request supports.
|
String |
getTargetRestEndpointURL()
Returns the generalized endpoint url that this request should be sent to, for example
/job/:jobid . |
SessionMessageParameters |
getUnresolvedMessageParameters()
Returns a new
MessageParameters object. |
String |
operationId()
Returns a short description for this header suitable for method code generation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCustomHeaders, getResponseTypeParameters
acceptsFileUploads
public Class<EmptyResponseBody> getResponseClass()
MessageHeaders
getResponseClass
in interface MessageHeaders<ConfigureSessionRequestBody,EmptyResponseBody,SessionMessageParameters>
public org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus getResponseStatusCode()
MessageHeaders
getResponseStatusCode
in interface MessageHeaders<ConfigureSessionRequestBody,EmptyResponseBody,SessionMessageParameters>
public String getDescription()
MessageHeaders
getDescription
in interface MessageHeaders<ConfigureSessionRequestBody,EmptyResponseBody,SessionMessageParameters>
public Class<ConfigureSessionRequestBody> getRequestClass()
UntypedResponseMessageHeaders
getRequestClass
in interface UntypedResponseMessageHeaders<ConfigureSessionRequestBody,SessionMessageParameters>
public SessionMessageParameters getUnresolvedMessageParameters()
UntypedResponseMessageHeaders
MessageParameters
object.getUnresolvedMessageParameters
in interface UntypedResponseMessageHeaders<ConfigureSessionRequestBody,SessionMessageParameters>
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 Collection<? extends RestAPIVersion<?>> getSupportedAPIVersions()
RestHandlerSpecification
getSupportedAPIVersions
in interface RestHandlerSpecification
getSupportedAPIVersions
in interface SqlGatewayMessageHeaders<ConfigureSessionRequestBody,EmptyResponseBody,SessionMessageParameters>
public static ConfigureSessionHeaders getInstance()
public String operationId()
MessageHeaders
operationId
in interface MessageHeaders<ConfigureSessionRequestBody,EmptyResponseBody,SessionMessageParameters>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.