Groovy Documentation

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

java.lang.Object
  org.restlet.resource.ServerResource
      org.linkedin.glu.agent.rest.resources.BaseResource
          org.linkedin.glu.agent.rest.resources.AgentResource

class AgentResource
extends BaseResource

Handles resources to the agent directly (like the list of mount points)

Authors:
ypujante@linkedin.com


Field Summary
 
Fields inherited from class BaseResource
MODULE, log
 
Method Summary
Representation getMountPoints()

return the list of mount points

Representation sync(Representation representation)

sync

 
Methods inherited from class BaseResource
addResponseHeader, doInit, getAgent, getPath, getRequestArgs, getResourceMountPoint, getResponseHeader, noException, toArgs, toArgs, toRepresentation
 

Method Detail

getMountPoints

@Get
Representation getMountPoints()
return the list of mount points


sync

@Put
Representation sync(Representation representation)
sync


 

Groovy Documentation