|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.resource.ServerResource
org.linkedin.glu.agent.rest.resources.BaseResource
org.linkedin.glu.agent.rest.resources.TagsResource
class TagsResource extends BaseResource
Field Summary | |
---|---|
static TagsSerializer |
TAGS_SERIALIZER
|
Fields inherited from class BaseResource | |
---|---|
MODULE, log |
Method Summary | |
---|---|
Representation
|
addTags(Representation representation)
add tags (ex: POST /tags/fruit;vegetable) |
Representation
|
deleteTags()
DELETE remove tags (ex: DELETE /tags/fruit;vegetable) |
Representation
|
getOrCheckTags()
GET: /tags => 200: json array of tags HEAD: /tags => 200 if has tags, 204 otherwise (only match=any makes sense here...) |
Representation
|
updateTags(Representation representation)
set tags (ex: PUT /tags/fruit;vegetable) |
Methods inherited from class BaseResource | |
---|---|
addResponseHeader, doInit, getAgent, getPath, getRequestArgs, getResourceMountPoint, getResponseHeader, noException, toArgs, toArgs, toRepresentation |
Field Detail |
---|
public static final TagsSerializer TAGS_SERIALIZER
Method Detail |
---|
@Post Representation addTags(Representation representation)
@Delete Representation deleteTags()
@Get Representation getOrCheckTags()
@Put Representation updateTags(Representation representation)
Groovy Documentation