Class LogsResources
java.lang.Object
org.apache.drill.exec.server.rest.LogsResources
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
getFullLog
(String name) org.glassfish.jersey.server.mvc.Viewable
getLogJSON
(String name) org.glassfish.jersey.server.mvc.Viewable
getLogs()
-
Constructor Details
-
LogsResources
public LogsResources()
-
-
Method Details
-
getLogs
@GET @Path("/logs") @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable getLogs() -
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)
-