Class OpenSessionHeaders

java.lang.Object
org.apache.flink.table.gateway.rest.header.session.OpenSessionHeaders
All Implemented Interfaces:
org.apache.flink.runtime.rest.handler.RestHandlerSpecification, org.apache.flink.runtime.rest.messages.MessageHeaders<OpenSessionRequestBody,OpenSessionResponseBody,org.apache.flink.runtime.rest.messages.EmptyMessageParameters>, org.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders<OpenSessionRequestBody,org.apache.flink.runtime.rest.messages.EmptyMessageParameters>, SqlGatewayMessageHeaders<OpenSessionRequestBody,OpenSessionResponseBody,org.apache.flink.runtime.rest.messages.EmptyMessageParameters>

public class OpenSessionHeaders extends Object implements SqlGatewayMessageHeaders<OpenSessionRequestBody,OpenSessionResponseBody,org.apache.flink.runtime.rest.messages.EmptyMessageParameters>
Message headers for opening a session.
  • Method Details

    • 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
    • getResponseClass

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

      public String getDescription()
      Specified by:
      getDescription in interface org.apache.flink.runtime.rest.messages.MessageHeaders<OpenSessionRequestBody,OpenSessionResponseBody,org.apache.flink.runtime.rest.messages.EmptyMessageParameters>
    • getRequestClass

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

      public org.apache.flink.runtime.rest.messages.EmptyMessageParameters getUnresolvedMessageParameters()
      Specified by:
      getUnresolvedMessageParameters in interface org.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders<OpenSessionRequestBody,org.apache.flink.runtime.rest.messages.EmptyMessageParameters>
    • getInstance

      public static OpenSessionHeaders getInstance()
    • operationId

      public String operationId()
      Specified by:
      operationId in interface org.apache.flink.runtime.rest.messages.MessageHeaders<OpenSessionRequestBody,OpenSessionResponseBody,org.apache.flink.runtime.rest.messages.EmptyMessageParameters>