public class HttpServer
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
void |
awaitTermination(long timeout,
java.util.concurrent.TimeUnit timeUnit) |
|
ListenerEndpoint |
getEndpoint() |
|
void |
shutdown(long gracePeriod,
java.util.concurrent.TimeUnit timeUnit) |
|
void |
start() |
public ListenerEndpoint getEndpoint()
public void start()
throws java.io.IOException
java.io.IOExceptionpublic void awaitTermination(long timeout,
java.util.concurrent.TimeUnit timeUnit)
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void shutdown(long gracePeriod,
java.util.concurrent.TimeUnit timeUnit)