public interface HttpServer
extends org.apache.dubbo.common.Resetable, org.apache.dubbo.remoting.RemotingServer
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
close the channel.
|
void |
close(int timeout)
Graceful close the channel.
|
HttpHandler |
getHttpHandler()
get http handler.
|
InetSocketAddress |
getLocalAddress()
get local address.
|
org.apache.dubbo.common.URL |
getUrl()
get url.
|
boolean |
isBound()
is bound.
|
boolean |
isClosed()
is closed.
|
HttpHandler getHttpHandler()
org.apache.dubbo.common.URL getUrl()
getUrl 在接口中 org.apache.dubbo.remoting.EndpointInetSocketAddress getLocalAddress()
getLocalAddress 在接口中 org.apache.dubbo.remoting.Endpointvoid close()
close 在接口中 org.apache.dubbo.remoting.Endpointvoid close(int timeout)
close 在接口中 org.apache.dubbo.remoting.Endpointboolean isBound()
isBound 在接口中 org.apache.dubbo.remoting.RemotingServerboolean isClosed()
isClosed 在接口中 org.apache.dubbo.remoting.EndpointCopyright © 2024 The Apache Software Foundation. All rights reserved.