类 WebServer
java.lang.Object
org.apache.pulsar.proxy.server.WebServer
Manages web-service startup/stop on jetty server.
-
字段概要
字段 -
构造器概要
构造器构造器说明WebServer(ProxyConfiguration config, org.apache.pulsar.broker.authentication.AuthenticationService authenticationService) -
方法概要
修饰符和类型方法说明voidaddRestResources(String basePath, String javaPackages, String attribute, Object attributeValue) voidaddServlet(String basePath, org.eclipse.jetty.servlet.ServletHolder servletHolder) voidaddServlet(String basePath, org.eclipse.jetty.servlet.ServletHolder servletHolder, List<org.apache.commons.lang3.tuple.Pair<String, Object>> attributes) voidaddServlet(String basePath, org.eclipse.jetty.servlet.ServletHolder servletHolder, List<org.apache.commons.lang3.tuple.Pair<String, Object>> attributes, boolean requireAuthentication) intbooleanvoidstart()voidstop()
-
字段详细资料
-
externalServicePort
protected int externalServicePort
-
-
构造器详细资料
-
WebServer
public WebServer(ProxyConfiguration config, org.apache.pulsar.broker.authentication.AuthenticationService authenticationService)
-
-
方法详细资料