com.alibaba.dubbo.remoting.http
Interface HttpServer

All Superinterfaces:
Resetable
All Known Implementing Classes:
AbstractHttpServer, JettyHttpServer, ServletHttpServer

public interface HttpServer
extends Resetable


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.
 
Methods inherited from interface com.alibaba.dubbo.common.Resetable
reset
 

Method Detail

getHttpHandler

HttpHandler getHttpHandler()
get http handler.

Returns:
http handler.

getUrl

URL getUrl()
get url.

Returns:
url

getLocalAddress

InetSocketAddress getLocalAddress()
get local address.

Returns:
local address.

close

void close()
close the channel.


close

void close(int timeout)
Graceful close the channel.


isBound

boolean isBound()
is bound.

Returns:
bound

isClosed

boolean isClosed()
is closed.

Returns:
closed


Copyright © 2012–2017 Alibaba. All rights reserved.