|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.alibaba.dubbo.remoting.http.support.AbstractHttpServer
public abstract class AbstractHttpServer
AbstractHttpServer
| Constructor Summary | |
|---|---|
AbstractHttpServer(URL url,
HttpHandler handler)
|
|
| Method Summary | |
|---|---|
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. |
void |
reset(URL url)
reset. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractHttpServer(URL url,
HttpHandler handler)
| Method Detail |
|---|
public HttpHandler getHttpHandler()
HttpServer
getHttpHandler in interface HttpServerpublic URL getUrl()
HttpServer
getUrl in interface HttpServerpublic void reset(URL url)
Resetable
reset in interface Resetablepublic boolean isBound()
HttpServer
isBound in interface HttpServerpublic InetSocketAddress getLocalAddress()
HttpServer
getLocalAddress in interface HttpServerpublic void close()
HttpServer
close in interface HttpServerpublic void close(int timeout)
HttpServer
close in interface HttpServerpublic boolean isClosed()
HttpServer
isClosed in interface HttpServer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||