Class WebUiPageTree.StopPage

java.lang.Object
org.apache.drill.yarn.appMaster.http.WebUiPageTree.StopPage
Enclosing class:
WebUiPageTree

@Path("/stop/") @RolesAllowed("admin") public static class WebUiPageTree.StopPage extends Object
Confirmation page when the admin asks to stop the cluster. The GET request displays the confirmation, the POST does the deed. As for other confirmation pages, this is an old-style, quick & dirty solution. A more modern solution would be to use JavaScript to pop up a confirmation dialog.
  • Constructor Details

    • StopPage

      public StopPage()
  • Method Details

    • requestStop

      @GET @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable requestStop()
    • doStop

      @POST @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable doStop()