Groovy Documentation

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

java.lang.Object
  org.restlet.resource.Resource
      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
 
Constructor Summary
AgentResource(Context context, Request request, Response response)

 
Method Summary
boolean allowGet()

boolean allowPut()

Representation represent(Variant variant)

GET: return the list of mount points

void storeRepresentation(Representation representation)

PUT: sync

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

Constructor Detail

AgentResource

AgentResource(Context context, Request request, Response response)


 
Method Detail

allowGet

boolean allowGet()


allowPut

boolean allowPut()


represent

Representation represent(Variant variant)
GET: return the list of mount points


storeRepresentation

void storeRepresentation(Representation representation)
PUT: sync


 

Groovy Documentation