public class EmbeddedJettyFactory extends Object implements EmbeddedServerFactory
| Constructor and Description |
|---|
EmbeddedJettyFactory() |
EmbeddedJettyFactory(JettyServerFactory serverFactory) |
| Modifier and Type | Method and Description |
|---|---|
EmbeddedServer |
create(Routes routeMatcher,
StaticFilesConfiguration staticFilesConfiguration,
boolean hasMultipleHandler)
Creates an embedded server instance.
|
EmbeddedJettyFactory |
withThreadPool(org.eclipse.jetty.util.thread.ThreadPool threadPool)
Sets optional thread pool for jetty server.
|
public EmbeddedJettyFactory()
public EmbeddedJettyFactory(JettyServerFactory serverFactory)
public EmbeddedServer create(Routes routeMatcher, StaticFilesConfiguration staticFilesConfiguration, boolean hasMultipleHandler)
EmbeddedServerFactorycreate in interface EmbeddedServerFactoryrouteMatcher - The route matcherstaticFilesConfiguration - The static files configuration objecthasMultipleHandler - true if other handlers existpublic EmbeddedJettyFactory withThreadPool(org.eclipse.jetty.util.thread.ThreadPool threadPool)
threadPool - thread poolCopyright © 2017. All rights reserved.