Class WebUiPageTree.StopPage
java.lang.Object
org.apache.drill.yarn.appMaster.http.WebUiPageTree.StopPage
- Enclosing class:
- WebUiPageTree
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.glassfish.jersey.server.mvc.Viewable
doStop()
org.glassfish.jersey.server.mvc.Viewable
-
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()
-