接口 HttpServer
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 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.
-
-
-
方法详细资料
-
getHttpHandler
HttpHandler getHttpHandler()
get http handler.- 返回:
- http handler.
-
getUrl
URL getUrl()
get url.- 返回:
- url
-
getLocalAddress
InetSocketAddress getLocalAddress()
get local address.- 返回:
- local address.
-
close
void close()
close the channel.
-
close
void close(int timeout)
Graceful close the channel.
-
isBound
boolean isBound()
is bound.- 返回:
- bound
-
isClosed
boolean isClosed()
is closed.- 返回:
- closed
-
-