Class GetApiVersionHeaders

  • All Implemented Interfaces:
    org.apache.flink.runtime.rest.handler.RestHandlerSpecification, org.apache.flink.runtime.rest.messages.MessageHeaders<org.apache.flink.runtime.rest.messages.EmptyRequestBody,​GetApiVersionResponseBody,​org.apache.flink.runtime.rest.messages.EmptyMessageParameters>, org.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders<org.apache.flink.runtime.rest.messages.EmptyRequestBody,​org.apache.flink.runtime.rest.messages.EmptyMessageParameters>, SqlGatewayMessageHeaders<org.apache.flink.runtime.rest.messages.EmptyRequestBody,​GetApiVersionResponseBody,​org.apache.flink.runtime.rest.messages.EmptyMessageParameters>

    public class GetApiVersionHeaders
    extends Object
    implements SqlGatewayMessageHeaders<org.apache.flink.runtime.rest.messages.EmptyRequestBody,​GetApiVersionResponseBody,​org.apache.flink.runtime.rest.messages.EmptyMessageParameters>
    Message headers for getting rest api version.
    • Method Detail

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

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

        public Class<org.apache.flink.runtime.rest.messages.EmptyRequestBody> getRequestClass()
        Specified by:
        getRequestClass in interface org.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders<org.apache.flink.runtime.rest.messages.EmptyRequestBody,​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<org.apache.flink.runtime.rest.messages.EmptyRequestBody,​org.apache.flink.runtime.rest.messages.EmptyMessageParameters>
      • operationId

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