|
||||||||||
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 HttpServer
public URL getUrl()
HttpServer
getUrl
in interface HttpServer
public void reset(URL url)
Resetable
reset
in interface Resetable
public boolean isBound()
HttpServer
isBound
in interface HttpServer
public InetSocketAddress getLocalAddress()
HttpServer
getLocalAddress
in interface HttpServer
public void close()
HttpServer
close
in interface HttpServer
public void close(int timeout)
HttpServer
close
in interface HttpServer
public boolean isClosed()
HttpServer
isClosed
in interface HttpServer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |