public interface HttpServer extends Resetable, RemotingServer
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 Endpointboolean isBound()
isBound 在接口中 RemotingServerCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.