public class JettyServerBuilder extends Object
| Constructor and Description |
|---|
JettyServerBuilder(ServiceDirectory locator) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.jetty.websocket.jsr356.server.ServerContainer |
configureContext(org.eclipse.jetty.servlet.ServletContextHandler context)
Configure the Upgrade filter into the Servlet Context Handler.
|
void |
configureFilter(org.eclipse.jetty.servlet.ServletContextHandler result,
ServletFilterConf def) |
void |
configureServlet(org.eclipse.jetty.servlet.ServletContextHandler result,
ServletConf def) |
org.eclipse.jetty.server.Handler |
configureServletContextHandler(org.eclipse.jetty.server.Server server,
ServletContextConf config) |
org.eclipse.jetty.server.Handler |
configureServletContextsHandler(org.eclipse.jetty.server.Server server,
List<ServletContextConf> defs) |
void |
configureWebSocket(org.eclipse.jetty.websocket.jsr356.server.ServerContainer serverContainer,
WebSocketServerConf webSocketDef)
Configure web socket definitions into the server container.
|
org.eclipse.jetty.security.SecurityHandler |
createConstraintSecurityHandler(ServletContextSecurityConf def) |
public JettyServerBuilder(ServiceDirectory locator)
public void configureFilter(org.eclipse.jetty.servlet.ServletContextHandler result,
ServletFilterConf def)
public void configureServlet(org.eclipse.jetty.servlet.ServletContextHandler result,
ServletConf def)
public org.eclipse.jetty.security.SecurityHandler createConstraintSecurityHandler(ServletContextSecurityConf def)
public void configureWebSocket(org.eclipse.jetty.websocket.jsr356.server.ServerContainer serverContainer,
WebSocketServerConf webSocketDef)
throws Exception
Exceptionpublic org.eclipse.jetty.websocket.jsr356.server.ServerContainer configureContext(org.eclipse.jetty.servlet.ServletContextHandler context)
throws javax.servlet.ServletException
javax.servlet.ServletExceptionpublic org.eclipse.jetty.server.Handler configureServletContextHandler(org.eclipse.jetty.server.Server server,
ServletContextConf config)
public org.eclipse.jetty.server.Handler configureServletContextsHandler(org.eclipse.jetty.server.Server server,
List<ServletContextConf> defs)
Copyright © 2016. All rights reserved.