public interface HttpServer extends Resetable, RemotingServer
| 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.
|
getChannel, getChannels, resetgetChannelHandler, send, send, startClosecanHandleIdleHttpHandler getHttpHandler()
InetSocketAddress getLocalAddress()
getLocalAddress in interface Endpointboolean isBound()
isBound in interface RemotingServerCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.