java.lang.Object
io.jooby.Server.Base
io.jooby.netty.NettyServer
- All Implemented Interfaces:
io.jooby.Server
public class NettyServer
extends io.jooby.Server.Base
Web server implementation using Netty.
- Since:
- 2.0.0
- Author:
- edgar
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jooby.Server
io.jooby.Server.Base
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
io.jooby.ServerOptions
setOptions
(io.jooby.ServerOptions options) io.jooby.Server
start
(io.jooby.Jooby application) io.jooby.Server
stop()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jooby.Server
join
-
Constructor Details
-
NettyServer
Creates a server.- Parameters:
worker
- Thread-pool to use.
-
NettyServer
public NettyServer()Creates a server.
-
-
Method Details
-
setOptions
-
getOptions
@NonNull public io.jooby.ServerOptions getOptions() -
getName
-
start
@NonNull public io.jooby.Server start(@NonNull io.jooby.Jooby application) -
stop
@NonNull public io.jooby.Server stop()
-