org.linkedin.glu.agent.rest.resources
[Groovy] Class FileResource
java.lang.Object
org.restlet.resource.ServerResource
org.linkedin.glu.agent.rest.resources.BaseResource
org.linkedin.glu.agent.rest.resources.FileResource
class FileResource
extends BaseResource
Handles resources of type files (tail / ls)
- Authors:
- ypujante@linkedin.com
Methods inherited from class BaseResource
|
addResponseHeader, doInit, getAgent, getPath, getRequestArgs, getResourceMountPoint, getResponseHeader, noException, toArgs, toArgs, toRepresentation |
getFileContent
@Get
Representation getFileContent()
- GET: get the content of the file/directory
Groovy Documentation