接口 HttpServer

    • 方法详细资料

      • getHttpHandler

        HttpHandler getHttpHandler()
        get http handler.
        返回:
        http handler.
      • getUrl

        URL getUrl()
        get url.
        指定者:
        getUrl 在接口中 Endpoint
        返回:
        url
      • close

        void close()
        close the channel.
        指定者:
        close 在接口中 Endpoint
      • close

        void close​(int timeout)
        Graceful close the channel.
        指定者:
        close 在接口中 Endpoint
      • isClosed

        boolean isClosed()
        is closed.
        指定者:
        isClosed 在接口中 Endpoint
        返回:
        closed