public class JettyServer extends Object implements org.jooby.spi.Server
| Constructor and Description |
|---|
JettyServer(org.jooby.spi.HttpHandler handler,
com.typesafe.config.Config conf,
javax.inject.Provider<SSLContext> sslCtx) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Executor> |
executor() |
void |
join() |
void |
start() |
void |
stop() |
@Inject
public JettyServer(org.jooby.spi.HttpHandler handler,
com.typesafe.config.Config conf,
javax.inject.Provider<SSLContext> sslCtx)
public void start()
throws Exception
start in interface org.jooby.spi.ServerExceptionpublic void join()
throws InterruptedException
join in interface org.jooby.spi.ServerInterruptedExceptionpublic void stop()
throws Exception
stop in interface org.jooby.spi.ServerExceptionCopyright © 2017. All rights reserved.