接口 HttpServer

    • 方法详细资料

      • 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