Class LogsResources

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

@Path("/") @RolesAllowed("admin") public class LogsResources extends Object
  • Constructor Details

    • LogsResources

      public LogsResources()
  • Method Details

    • getLogs

      @GET @Path("/logs") @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable getLogs()
    • getLogsJSON

      @GET @Path("/logs.json") @Produces("application/json") public Set<LogsResources.Log> getLogsJSON()
    • getLog

      @GET @Path("/log/{name}/content") @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable getLog(@PathParam("name") String name) throws IOException
      Throws:
      IOException
    • getLogJSON

      @GET @Path("/log/{name}/content.json") @Produces("application/json") public LogsResources.LogContent getLogJSON(@PathParam("name") String name) throws IOException
      Throws:
      IOException
    • getFullLog

      @GET @Path("/log/{name}/download") @Produces("text/plain") public javax.ws.rs.core.Response getFullLog(@PathParam("name") String name)