Class LogFileResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.actions.impl.actions.LogFileResource
- All Implemented Interfaces:
RestResource
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionch.tocco.nice2.actions.impl.actions.LogFileResource.LogFileNameBean
ch.tocco.nice2.actions.impl.actions.LogFileResource.LogFileContentBean
getLogFileContent
(String fileName, int maxLines) void
Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
LogFileResource
-
-
Method Details
-
getAllLogFileNames
@GET @Produces("application/json") public ch.tocco.nice2.actions.impl.actions.LogFileResource.LogFileNameBean getAllLogFileNames() -
getLogFileContent
@GET @Produces("application/json") @Path("{fileName}") public ch.tocco.nice2.actions.impl.actions.LogFileResource.LogFileContentBean getLogFileContent(@PathParam("fileName") String fileName, @QueryParam("lines") int maxLines) -
setLogDir
-