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.ServerOptionssetOptions(io.jooby.ServerOptions options) io.jooby.Serverstart(io.jooby.Jooby application) io.jooby.Serverstop()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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()
-