Class UndertowServerFeature
java.lang.Object
ch.raffael.meldioc.library.http.server.undertow.UndertowServerFeature
- Direct Known Subclasses:
UndertowServerFeature.WithSharedWorkers,UndertowServerFeature.WithShutdown
Default Undertow server.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intprotected io.undertow.Undertow.Builderprotected intprotected intprotected voidpreConfigure(UndertowConfig config) protected com.typesafe.config.Configprotected com.typesafe.config.Configvoidstart()voidvoidstopAll()voidvoidprotected intprotected UndertowConfigprotected io.undertow.Undertowprotected Durationprotected com.typesafe.config.Configprotected ClassLoaderprotected org.xnio.XnioWorker
-
Field Details
-
UNDERTOW_PARAM_PREFIX
- See Also:
-
startStopLock
-
-
Constructor Details
-
UndertowServerFeature
public UndertowServerFeature()
-
-
Method Details
-
start
public void start() -
start
-
stopAll
public void stopAll() -
stopWorker
public void stopWorker() -
stopUndertow
public void stopUndertow() -
coreWorkers
@Parameter protected int coreWorkers() -
maxWorkers
@Parameter protected int maxWorkers() -
workerKeepAlive
-
taskQueueLimit
@Parameter protected int taskQueueLimit() -
ioThreads
@Parameter protected int ioThreads() -
workerOptions
@Parameter("xnio.worker-options") protected com.typesafe.config.Config workerOptions() -
socketOptions
@Parameter("xnio.socket-options") protected com.typesafe.config.Config socketOptions() -
serverOptions
@Parameter protected com.typesafe.config.Config serverOptions() -
undertowConfiguration
-
preConfigure
-
xnioWorker
@Provision(singleton=true) protected org.xnio.XnioWorker xnioWorker() -
undertowServer
@Provision(singleton=true) protected io.undertow.Undertow undertowServer() -
xnioClassLoader
-
createUndertowBuilder
protected io.undertow.Undertow.Builder createUndertowBuilder()
-