public class ProxyServer extends Object
| Constructor and Description |
|---|
ProxyServer(WebSocketProxyConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRestResources(String basePath,
String javaPackages,
String attribute,
Object attributeValue) |
void |
addWebSocketServlet(String basePath,
javax.servlet.Servlet socketServlet) |
Optional<Integer> |
getListenPortHTTP() |
Optional<Integer> |
getListenPortHTTPS() |
void |
start() |
void |
stop() |
public ProxyServer(WebSocketProxyConfiguration config) throws org.apache.pulsar.client.api.PulsarClientException, MalformedURLException, PulsarServerException
org.apache.pulsar.client.api.PulsarClientExceptionMalformedURLExceptionPulsarServerExceptionpublic void addWebSocketServlet(String basePath, javax.servlet.Servlet socketServlet) throws javax.servlet.ServletException, javax.websocket.DeploymentException
javax.servlet.ServletExceptionjavax.websocket.DeploymentExceptionpublic void addRestResources(String basePath, String javaPackages, String attribute, Object attributeValue)
public void start()
throws PulsarServerException
PulsarServerExceptionCopyright © 2017–2022 Apache Software Foundation. All rights reserved.