public static class JettyConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JettyConfig |
build() |
JettyConfig.Builder |
setContext(String context) |
JettyConfig.Builder |
setPort(int port) |
JettyConfig.Builder |
stopAtShutdown(boolean stopAtShutdown) |
JettyConfig.Builder |
waitForLoadingCoresToFinish(Long waitForLoadingCoresToFinishMs) |
JettyConfig.Builder |
withFilter(Class<? extends javax.servlet.Filter> filterClass,
String pathSpec) |
JettyConfig.Builder |
withFilters(Map<Class<? extends javax.servlet.Filter>,String> filters) |
JettyConfig.Builder |
withServlet(org.eclipse.jetty.servlet.ServletHolder servlet,
String pathSpec) |
JettyConfig.Builder |
withServlets(Map<org.eclipse.jetty.servlet.ServletHolder,String> servlets) |
JettyConfig.Builder |
withSSLConfig(SSLConfig sslConfig) |
public JettyConfig.Builder setPort(int port)
public JettyConfig.Builder setContext(String context)
public JettyConfig.Builder stopAtShutdown(boolean stopAtShutdown)
public JettyConfig.Builder waitForLoadingCoresToFinish(Long waitForLoadingCoresToFinishMs)
public JettyConfig.Builder withServlet(org.eclipse.jetty.servlet.ServletHolder servlet, String pathSpec)
public JettyConfig.Builder withServlets(Map<org.eclipse.jetty.servlet.ServletHolder,String> servlets)
public JettyConfig.Builder withFilter(Class<? extends javax.servlet.Filter> filterClass, String pathSpec)
public JettyConfig.Builder withFilters(Map<Class<? extends javax.servlet.Filter>,String> filters)
public JettyConfig.Builder withSSLConfig(SSLConfig sslConfig)
public JettyConfig build()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.