接口 RestServer

    • 方法详细资料

      • start

        void start​(URL url)
      • deploy

        void deploy​(Class resourceDef,
                    Object resourceInstance,
                    String contextPath)
        参数:
        resourceDef - it could be either resource interface or resource impl
      • undeploy

        void undeploy​(Class resourceDef)
      • stop

        void stop()