Class AdminResource

    • Constructor Detail

      • AdminResource

        public AdminResource()
    • Method Detail

      • getServerStatus

        @GET
        @Path("/")
        public NutchServerInfo getServerStatus()
        Get the status of the Nutch Server
        Returns:
        NutchServerInfo for the running service
      • stopServer

        @GET
        @Path("/stop")
        public String stopServer​(@QueryParam("force")
                                 boolean force)
        Stop the Nutch server
        Parameters:
        force - If set to true, it will kill any running jobs
        Returns:
        a message indicating shutdown status