Class WebFrontendBootstrap
java.lang.Object
org.apache.flink.runtime.webmonitor.utils.WebFrontendBootstrap
This classes encapsulates the boot-strapping of netty for the web-frontend.
-
Constructor Summary
ConstructorsConstructorDescriptionWebFrontendBootstrap(org.apache.flink.runtime.rest.handler.router.Router router, org.slf4j.Logger log, File directory, org.apache.flink.runtime.io.network.netty.SSLHandlerFactory serverSSLFactory, String configuredAddress, int configuredPort, org.apache.flink.configuration.Configuration config) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.shaded.netty4.io.netty.bootstrap.ServerBootstrapintvoidshutdown()
-
Constructor Details
-
WebFrontendBootstrap
public WebFrontendBootstrap(org.apache.flink.runtime.rest.handler.router.Router router, org.slf4j.Logger log, File directory, @Nullable org.apache.flink.runtime.io.network.netty.SSLHandlerFactory serverSSLFactory, String configuredAddress, int configuredPort, org.apache.flink.configuration.Configuration config) throws InterruptedException, UnknownHostException
-
-
Method Details
-
getBootstrap
public org.apache.flink.shaded.netty4.io.netty.bootstrap.ServerBootstrap getBootstrap() -
getServerPort
public int getServerPort() -
getRestAddress
-
shutdown
public void shutdown()
-