|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.resource.Resource
org.linkedin.glu.agent.rest.resources.BaseResource
class BaseResource extends Resource
Base class for resources to the agent
Field Summary | |
---|---|
static java.lang.String |
MODULE
|
static java.lang.Object |
log
|
Constructor Summary | |
BaseResource(Context context, Request request, Response response)
|
Method Summary | |
---|---|
Agent
|
getAgent()
|
protected java.lang.String
|
getPath()
|
java.lang.String
|
getResourceMountPoint()
|
protected T
|
noException(groovy.lang.Closure closure)
|
static java.lang.Object
|
toArgs(Representation representation)
|
static java.lang.Object
|
toArgs(Form form)
|
static java.lang.Object
|
toRepresentation(java.lang.Object res)
|
Field Detail |
---|
public static final java.lang.String MODULE
public static final java.lang.Object log
Constructor Detail |
---|
BaseResource(Context context, Request request, Response response)
Method Detail |
---|
Agent getAgent()
protected java.lang.String getPath()
java.lang.String getResourceMountPoint()
protected T noException(groovy.lang.Closure closure)
static java.lang.Object toArgs(Representation representation)
static java.lang.Object toArgs(Form form)
static java.lang.Object toRepresentation(java.lang.Object res)
Groovy Documentation