|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.resource.Resource
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)
Field Summary |
---|
Fields inherited from class BaseResource | |
---|---|
MODULE, log |
Constructor Summary | |
FileResource(Context context, Request request, Response response)
|
Method Summary | |
---|---|
boolean
|
allowGet()
|
Representation
|
represent(Variant variant)
GET: get the content of the file/directory |
Methods inherited from class BaseResource | |
---|---|
getAgent, getPath, getResourceMountPoint, noException, toArgs, toArgs, toRepresentation |
Constructor Detail |
---|
FileResource(Context context, Request request, Response response)
Method Detail |
---|
boolean allowGet()
Representation represent(Variant variant)
Groovy Documentation