Class ConfigureSessionHeaders
- java.lang.Object
-
- org.apache.flink.table.gateway.rest.header.session.ConfigureSessionHeaders
-
- All Implemented Interfaces:
org.apache.flink.runtime.rest.handler.RestHandlerSpecification,org.apache.flink.runtime.rest.messages.MessageHeaders<ConfigureSessionRequestBody,org.apache.flink.runtime.rest.messages.EmptyResponseBody,SessionMessageParameters>,org.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders<ConfigureSessionRequestBody,SessionMessageParameters>,SqlGatewayMessageHeaders<ConfigureSessionRequestBody,org.apache.flink.runtime.rest.messages.EmptyResponseBody,SessionMessageParameters>
public class ConfigureSessionHeaders extends Object implements SqlGatewayMessageHeaders<ConfigureSessionRequestBody,org.apache.flink.runtime.rest.messages.EmptyResponseBody,SessionMessageParameters>
Message headers for configuring a session.
-
-
Constructor Summary
Constructors Constructor Description ConfigureSessionHeaders()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()org.apache.flink.runtime.rest.HttpMethodWrappergetHttpMethod()static ConfigureSessionHeadersgetInstance()Class<ConfigureSessionRequestBody>getRequestClass()Class<org.apache.flink.runtime.rest.messages.EmptyResponseBody>getResponseClass()org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatusgetResponseStatusCode()Collection<? extends org.apache.flink.runtime.rest.versioning.RestAPIVersion<?>>getSupportedAPIVersions()StringgetTargetRestEndpointURL()SessionMessageParametersgetUnresolvedMessageParameters()StringoperationId()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
getResponseClass
public Class<org.apache.flink.runtime.rest.messages.EmptyResponseBody> getResponseClass()
- Specified by:
getResponseClassin interfaceorg.apache.flink.runtime.rest.messages.MessageHeaders<ConfigureSessionRequestBody,org.apache.flink.runtime.rest.messages.EmptyResponseBody,SessionMessageParameters>
-
getResponseStatusCode
public org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus getResponseStatusCode()
- Specified by:
getResponseStatusCodein interfaceorg.apache.flink.runtime.rest.messages.MessageHeaders<ConfigureSessionRequestBody,org.apache.flink.runtime.rest.messages.EmptyResponseBody,SessionMessageParameters>
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceorg.apache.flink.runtime.rest.messages.MessageHeaders<ConfigureSessionRequestBody,org.apache.flink.runtime.rest.messages.EmptyResponseBody,SessionMessageParameters>
-
getRequestClass
public Class<ConfigureSessionRequestBody> getRequestClass()
- Specified by:
getRequestClassin interfaceorg.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders<ConfigureSessionRequestBody,SessionMessageParameters>
-
getUnresolvedMessageParameters
public SessionMessageParameters getUnresolvedMessageParameters()
- Specified by:
getUnresolvedMessageParametersin interfaceorg.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders<ConfigureSessionRequestBody,SessionMessageParameters>
-
getHttpMethod
public org.apache.flink.runtime.rest.HttpMethodWrapper getHttpMethod()
- Specified by:
getHttpMethodin interfaceorg.apache.flink.runtime.rest.handler.RestHandlerSpecification
-
getTargetRestEndpointURL
public String getTargetRestEndpointURL()
- Specified by:
getTargetRestEndpointURLin interfaceorg.apache.flink.runtime.rest.handler.RestHandlerSpecification
-
getSupportedAPIVersions
public Collection<? extends org.apache.flink.runtime.rest.versioning.RestAPIVersion<?>> getSupportedAPIVersions()
- Specified by:
getSupportedAPIVersionsin interfaceorg.apache.flink.runtime.rest.handler.RestHandlerSpecification- Specified by:
getSupportedAPIVersionsin interfaceSqlGatewayMessageHeaders<ConfigureSessionRequestBody,org.apache.flink.runtime.rest.messages.EmptyResponseBody,SessionMessageParameters>
-
getInstance
public static ConfigureSessionHeaders getInstance()
-
operationId
public String operationId()
- Specified by:
operationIdin interfaceorg.apache.flink.runtime.rest.messages.MessageHeaders<ConfigureSessionRequestBody,org.apache.flink.runtime.rest.messages.EmptyResponseBody,SessionMessageParameters>
-
-