Class WebFrontendBootstrap
- java.lang.Object
-
- org.apache.flink.runtime.webmonitor.utils.WebFrontendBootstrap
-
public class WebFrontendBootstrap extends Object
This classes encapsulates the boot-strapping of netty for the web-frontend.
-
-
Constructor Summary
Constructors Constructor Description WebFrontendBootstrap(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.shaded.netty4.io.netty.bootstrap.ServerBootstrapgetBootstrap()StringgetRestAddress()intgetServerPort()voidshutdown()
-
-
-
Constructor Detail
-
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 Detail
-
getBootstrap
public org.apache.flink.shaded.netty4.io.netty.bootstrap.ServerBootstrap getBootstrap()
-
getServerPort
public int getServerPort()
-
getRestAddress
public String getRestAddress()
-
shutdown
public void shutdown()
-
-