public interface HttpServer extends Resetable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
close the channel.
|
void |
close(int timeout)
Graceful close the channel.
|
HttpHandler |
getHttpHandler()
get http handler.
|
InetSocketAddress |
getLocalAddress()
get local address.
|
URL |
getUrl()
get url.
|
boolean |
isBound()
is bound.
|
boolean |
isClosed()
is closed.
|
HttpHandler getHttpHandler()
URL getUrl()
InetSocketAddress getLocalAddress()
void close()
void close(int timeout)
boolean isBound()
boolean isClosed()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.