Groovy Documentation

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

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

class CommandsResource
extends BaseResource

Authors:
yan@pongasoft.com


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

 
Method Summary
void acceptRepresentation(Representation representation)

Handle POST

boolean allowPost()

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

Constructor Detail

CommandsResource

CommandsResource(Context context, Request request, Response response)


 
Method Detail

acceptRepresentation

@Override
void acceptRepresentation(Representation representation)
Handle POST


allowPost

@Override
boolean allowPost()


 

Groovy Documentation