public class WorkerServer extends Object
| Constructor and Description |
|---|
WorkerServer(WorkerService workerService) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Integer> |
getListenPortHTTP() |
Optional<Integer> |
getListenPortHTTPS() |
static org.eclipse.jetty.servlet.ServletContextHandler |
newServletContextHandler(String contextPath,
org.glassfish.jersey.server.ResourceConfig config,
WorkerService workerService) |
static org.eclipse.jetty.servlet.ServletContextHandler |
newServletContextHandler(String contextPath,
org.glassfish.jersey.server.ResourceConfig config,
WorkerService workerService,
boolean requireAuthentication) |
void |
start() |
void |
stop() |
public WorkerServer(WorkerService workerService)
public static org.eclipse.jetty.servlet.ServletContextHandler newServletContextHandler(String contextPath, org.glassfish.jersey.server.ResourceConfig config, WorkerService workerService)
public static org.eclipse.jetty.servlet.ServletContextHandler newServletContextHandler(String contextPath, org.glassfish.jersey.server.ResourceConfig config, WorkerService workerService, boolean requireAuthentication)
public void stop()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.