Class WebSubmissionExtension

java.lang.Object
org.apache.flink.runtime.webmonitor.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.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.flink.runtime.webmonitor.WebMonitorExtension

    org.apache.flink.runtime.webmonitor.WebMonitorExtension.EmptyWebMonitorExtension
  • Constructor Summary

    Constructors
    Constructor
    Description
    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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Collection<org.apache.flink.api.java.tuple.Tuple2<org.apache.flink.runtime.rest.handler.RestHandlerSpecification,org.apache.flink.shaded.netty4.io.netty.channel.ChannelInboundHandler>>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.flink.util.AutoCloseableAsync

    close
  • Constructor Details

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

    • 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