@Path(value="/soa/logging") public class LoggingApis extends Object
| Constructor and Description |
|---|
LoggingApis(LoggingReader loggingReader) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getFile(String key) |
javax.ws.rs.core.Response |
getFileZipped(String key) |
List<LogLevel> |
getLogLevels() |
List<LoggingFile> |
listLoggingFiles() |
javax.ws.rs.core.Response |
setLogLevels(List<LogLevel> levels) |
@Inject public LoggingApis(LoggingReader loggingReader)
@GET @Path(value="files") @Produces(value="application/json") public List<LoggingFile> listLoggingFiles()
@GET
@Path(value="file/gzip/{key}")
@Produces(value="text/plain")
public javax.ws.rs.core.Response getFileZipped(@PathParam(value="key")
String key)
@GET
@Path(value="file/raw/{key}")
@Produces(value="text/plain")
public javax.ws.rs.core.Response getFile(@PathParam(value="key")
String key)
@GET @Path(value="levels") @Produces(value="application/json") public List<LogLevel> getLogLevels() throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2014–2016 Soabase. All rights reserved.