java.lang.Object
io.jooby.Server.Base
io.jooby.jetty.JettyServer
- All Implemented Interfaces:
Server
Web server implementation using Jetty.
- Since:
- 2.0.0
- Author:
- edgar
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jooby.Server
Server.Base
-
Constructor Summary
ConstructorsConstructorDescriptionJettyServer
(DataBufferFactory bufferFactory, org.eclipse.jetty.util.thread.ThreadPool threadPool) -
Method Summary
Modifier and TypeMethodDescriptionApplies custom configuration.getName()
setOptions
(ServerOptions options) stop()
-
Constructor Details
-
JettyServer
public JettyServer(@NonNull DataBufferFactory bufferFactory, @NonNull org.eclipse.jetty.util.thread.ThreadPool threadPool) -
JettyServer
public JettyServer()
-
-
Method Details
-
setOptions
-
getOptions
-
getName
-
configure
Applies custom configuration. This applies to HTTP and HTTPS (when enable).- Parameters:
configurer
- Configurer.- Returns:
- This server.
-
start
-
getLoggerOff
-
stop
-