接口 WebServer

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型方法说明
      intgetPort()
      Return the port this server is listening on.
      voidstart()
      Starts the web server.
      voidstop()
      Stops the web server.
    • 方法详细资料

      • getPort

        int getPort()
        Return the port this server is listening on.
        返回:
        the port (or -1 if none)