public class RatingCollectionURLHandler extends Handler
Constructor and Description |
---|
RatingCollectionURLHandler() |
Modifier and Type | Method and Description |
---|---|
Resource |
get(RequestContext requestContext)
Processes the GET action for resource path of the requestContext.
|
addAssociation, addComment, applyTag, copy, createLink, createVersion, delete, dump, dumpLite, editComment, equals, executeQuery, getAllAssociations, getAssociations, getAverageRating, getComments, getRating, getRegistryContext, getResourcePathsWithTag, getTags, getVersions, hashCode, importChild, importResource, invokeAspect, move, put, putChild, rateResource, removeAssociation, removeComment, removeLink, removeTag, rename, resourceExists, restore, restoreVersion, searchContent
public Resource get(RequestContext requestContext) throws RegistryException
Handler
get
in class Handler
requestContext
- Information about the current request.
requestContext.resourcePath: Path of the resource
requestContext.resource: Resource at the given path. This can be null
if no other handler has retrieved that resource so far. If it contains
a value, matching handlers are free to do any change to the resource,
even they can replace the resource with completely new instance.RegistryException
- If the media type handler is supposed to handle the get on the media type and if the
get fails due a handler specific errorCopyright © 2016 WSO2 Inc. All Rights Reserved.