@Path(value="/") @RolesAllowed(value="admin") public class LogsResources extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
LogsResources.Log |
class |
LogsResources.LogContent |
| Constructor and Description |
|---|
LogsResources() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getFullLog(String name) |
org.glassfish.jersey.server.mvc.Viewable |
getLog(String name) |
LogsResources.LogContent |
getLogJSON(String name) |
org.glassfish.jersey.server.mvc.Viewable |
getLogs() |
Set<LogsResources.Log> |
getLogsJSON() |
@GET @Path(value="/logs") @Produces(value="text/html") public org.glassfish.jersey.server.mvc.Viewable getLogs()
@GET @Path(value="/logs.json") @Produces(value="application/json") public Set<LogsResources.Log> getLogsJSON()
@GET
@Path(value="/log/{name}/content")
@Produces(value="text/html")
public org.glassfish.jersey.server.mvc.Viewable getLog(@PathParam(value="name")
String name)
throws IOException
IOException@GET
@Path(value="/log/{name}/content.json")
@Produces(value="application/json")
public LogsResources.LogContent getLogJSON(@PathParam(value="name")
String name)
throws IOException
IOException@GET
@Path(value="/log/{name}/download")
@Produces(value="text/plain")
public javax.ws.rs.core.Response getFullLog(@PathParam(value="name")
String name)
Copyright © 2021 The Apache Software Foundation. All rights reserved.