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,
ExceptionMapper exceptionMapper,
boolean hasMultipleHandler)
Creates an embedded server instance.
|
EmbeddedJettyFactory |
withHttpOnly(boolean httpOnly) |
EmbeddedJettyFactory |
withThreadPool(org.eclipse.jetty.util.thread.ThreadPool threadPool)
Sets optional thread pool for jetty server.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic EmbeddedJettyFactory()
public EmbeddedJettyFactory(JettyServerFactory serverFactory)
public EmbeddedServer create(Routes routeMatcher, StaticFilesConfiguration staticFilesConfiguration, ExceptionMapper exceptionMapper, 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 poolpublic EmbeddedJettyFactory withHttpOnly(boolean httpOnly)
Copyright © 2019. All rights reserved.