public class HttpServer extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
awaitTermination(long timeout,
TimeUnit timeUnit) |
ListenerEndpoint |
getEndpoint() |
void |
shutdown(long gracePeriod,
TimeUnit timeUnit) |
void |
start() |
public ListenerEndpoint getEndpoint()
public void start()
throws IOException
IOExceptionpublic void awaitTermination(long timeout,
TimeUnit timeUnit)
throws InterruptedException
InterruptedExceptionpublic void shutdown(long gracePeriod,
TimeUnit timeUnit)
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.