Groovy Documentation

org.linkedin.glu.agent.rest.resources
[Groovy] Class FileResource

java.lang.Object
  org.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)

Authors:
ypujante@linkedin.com


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

FileResource(Context context, Request request, Response response)


 
Method Detail

allowGet

boolean allowGet()


represent

Representation represent(Variant variant)
GET: get the content of the file/directory


 

Groovy Documentation