Groovy Documentation

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

java.lang.Object
  org.restlet.resource.Resource
      org.linkedin.glu.agent.rest.resources.BaseResource
          org.linkedin.glu.agent.rest.resources.ProcessResource

class ProcessResource
extends BaseResource

Handles resources to get info about the processes

Authors:
ypujante@linkedin.com


Field Summary
 
Fields inherited from class BaseResource
MODULE, log
 
Constructor Summary
ProcessResource(Context context, Request request, Response response)

 
Method Summary
boolean allowGet()

boolean allowPut()

Representation represent(Variant variant)

GET: return information about the process(es)

void storeRepresentation(Representation representation)

PUT: send a signal to a process

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

Constructor Detail

ProcessResource

ProcessResource(Context context, Request request, Response response)


 
Method Detail

allowGet

boolean allowGet()


allowPut

boolean allowPut()


represent

Representation represent(Variant variant)
GET: return information about the process(es)


storeRepresentation

void storeRepresentation(Representation representation)
PUT: send a signal to a process


 

Groovy Documentation