public final class ServingLayer extends Object implements Closeable
| Constructor and Description |
|---|
ServingLayer(com.typesafe.config.Config config)
Creates a new instance with the given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
await()
Blocks and waits until the server shuts down.
|
void |
close() |
org.apache.catalina.Context |
getContext() |
void |
start() |
public ServingLayer(com.typesafe.config.Config config)
config - configuration for the serving layerpublic void start()
throws IOException
IOExceptionpublic void await()
public org.apache.catalina.Context getContext()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2014–2018. All rights reserved.