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 Details

    • ConfigureSessionHeaders

      public ConfigureSessionHeaders()
  • Method Details

    • getResponseClass

      public Class<org.apache.flink.runtime.rest.messages.EmptyResponseBody> getResponseClass()
      Specified by:
      getResponseClass in interface org.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:
      getResponseStatusCode in interface org.apache.flink.runtime.rest.messages.MessageHeaders<ConfigureSessionRequestBody,org.apache.flink.runtime.rest.messages.EmptyResponseBody,SessionMessageParameters>
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface org.apache.flink.runtime.rest.messages.MessageHeaders<ConfigureSessionRequestBody,org.apache.flink.runtime.rest.messages.EmptyResponseBody,SessionMessageParameters>
    • getRequestClass

      public Class<ConfigureSessionRequestBody> getRequestClass()
      Specified by:
      getRequestClass in interface org.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders<ConfigureSessionRequestBody,SessionMessageParameters>
    • getUnresolvedMessageParameters

      public SessionMessageParameters getUnresolvedMessageParameters()
      Specified by:
      getUnresolvedMessageParameters in interface org.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders<ConfigureSessionRequestBody,SessionMessageParameters>
    • getHttpMethod

      public org.apache.flink.runtime.rest.HttpMethodWrapper getHttpMethod()
      Specified by:
      getHttpMethod in interface org.apache.flink.runtime.rest.handler.RestHandlerSpecification
    • getTargetRestEndpointURL

      public String getTargetRestEndpointURL()
      Specified by:
      getTargetRestEndpointURL in interface org.apache.flink.runtime.rest.handler.RestHandlerSpecification
    • getSupportedAPIVersions

      public Collection<? extends org.apache.flink.runtime.rest.versioning.RestAPIVersion<?>> getSupportedAPIVersions()
      Specified by:
      getSupportedAPIVersions in interface org.apache.flink.runtime.rest.handler.RestHandlerSpecification
      Specified by:
      getSupportedAPIVersions in interface SqlGatewayMessageHeaders<ConfigureSessionRequestBody,org.apache.flink.runtime.rest.messages.EmptyResponseBody,SessionMessageParameters>
    • getInstance

      public static ConfigureSessionHeaders getInstance()
    • operationId

      public String operationId()
      Specified by:
      operationId in interface org.apache.flink.runtime.rest.messages.MessageHeaders<ConfigureSessionRequestBody,org.apache.flink.runtime.rest.messages.EmptyResponseBody,SessionMessageParameters>