Class WebSubmissionExtension

  • All Implemented Interfaces:
    AutoCloseable, org.apache.flink.runtime.webmonitor.WebMonitorExtension, org.apache.flink.util.AutoCloseableAsync

    public class WebSubmissionExtension
    extends Object
    implements org.apache.flink.runtime.webmonitor.WebMonitorExtension
    Container for the web submission handlers.
    • Constructor Detail

      • WebSubmissionExtension

        public WebSubmissionExtension​(org.apache.flink.configuration.Configuration configuration,
                                      org.apache.flink.runtime.webmonitor.retriever.GatewayRetriever<? extends org.apache.flink.runtime.dispatcher.DispatcherGateway> leaderRetriever,
                                      Map<String,​String> responseHeaders,
                                      CompletableFuture<String> localAddressFuture,
                                      Path jarDir,
                                      Executor executor,
                                      Duration timeout)
                               throws Exception
        Throws:
        Exception
    • Method Detail

      • closeAsync

        public CompletableFuture<Void> closeAsync()
        Specified by:
        closeAsync in interface org.apache.flink.util.AutoCloseableAsync
      • getHandlers

        public Collection<org.apache.flink.api.java.tuple.Tuple2<org.apache.flink.runtime.rest.handler.RestHandlerSpecification,​org.apache.flink.shaded.netty4.io.netty.channel.ChannelInboundHandler>> getHandlers()
        Specified by:
        getHandlers in interface org.apache.flink.runtime.webmonitor.WebMonitorExtension