接口 HttpServer
-
- 所有超级接口:
Endpoint,IdleSensible,RemotingServer,Resetable
public interface HttpServer extends Resetable, RemotingServer
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidclose()close the channel.voidclose(int timeout)Graceful close the channel.HttpHandlergetHttpHandler()get http handler.InetSocketAddressgetLocalAddress()get local address.URLgetUrl()get url.booleanisBound()is bound.booleanisClosed()is closed.-
从接口继承的方法 org.apache.dubbo.remoting.Endpoint
getChannelHandler, send, send, startClose
-
从接口继承的方法 org.apache.dubbo.remoting.IdleSensible
canHandleIdle
-
从接口继承的方法 org.apache.dubbo.remoting.RemotingServer
getChannel, getChannels, reset
-
-
-
-
方法详细资料
-
getHttpHandler
HttpHandler getHttpHandler()
get http handler.- 返回:
- http handler.
-
getLocalAddress
InetSocketAddress getLocalAddress()
get local address.- 指定者:
getLocalAddress在接口中Endpoint- 返回:
- local address.
-
isBound
boolean isBound()
is bound.- 指定者:
isBound在接口中RemotingServer- 返回:
- bound
-
-