Class StatusResources

java.lang.Object
org.apache.drill.exec.server.rest.StatusResources

@Path("/") @PermitAll public class StatusResources extends Object
  • Field Details

  • Constructor Details

    • StatusResources

      public StatusResources()
  • Method Details

    • getStatusJSON

      @GET @Path("/status.json") @Produces("application/json") public org.apache.commons.lang3.tuple.Pair<String,String> getStatusJSON()
    • getStatus

      @GET @Path("/status") @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable getStatus()
    • getMetrics

      @GET @Path("/status/metrics/{hostname}") @Produces("application/json") public String getMetrics(@PathParam("hostname") String hostname) throws Exception
      Throws:
      Exception
    • getSystemPublicOptionsJSON

      @GET @Path("/options.json") @RolesAllowed("authenticated") @Produces("application/json") public List<StatusResources.OptionWrapper> getSystemPublicOptionsJSON()
    • getSystemInternalOptionsJSON

      @GET @Path("/internal_options.json") @RolesAllowed("authenticated") @Produces("application/json") public List<StatusResources.OptionWrapper> getSystemInternalOptionsJSON()
    • getSystemPublicOptions

      @GET @Path("/options") @RolesAllowed("authenticated") @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable getSystemPublicOptions(@Context javax.ws.rs.core.UriInfo uriInfo)
    • getSystemInternalOptions

      @GET @Path("/internal_options") @RolesAllowed("authenticated") @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable getSystemInternalOptions(@Context javax.ws.rs.core.UriInfo uriInfo)
    • updateSystemOption

      @POST @Path("option/{optionName}") @RolesAllowed("admin") @Consumes("application/x-www-form-urlencoded") @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable updateSystemOption(@FormParam("name") String name, @FormParam("value") String value, @FormParam("kind") String kind)