org.wso2.registry.jdbc.urlhandlers
Class CommentCollectionURLHandler

java.lang.Object
  extended by org.wso2.registry.jdbc.urlhandlers.URLHandler
      extended by org.wso2.registry.jdbc.urlhandlers.CommentCollectionURLHandler

public class CommentCollectionURLHandler
extends URLHandler

Handles URLs in the form ?comments. e.g. /project/services/inventoryService?comments


Field Summary
 
Fields inherited from class org.wso2.registry.jdbc.urlhandlers.URLHandler
dataSource, realm
 
Constructor Summary
CommentCollectionURLHandler(Registry registry)
           
 
Method Summary
 Resource get(java.lang.String url)
          Determine if get(...) on the given url can be handled.
 
Methods inherited from class org.wso2.registry.jdbc.urlhandlers.URLHandler
delete, put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentCollectionURLHandler

public CommentCollectionURLHandler(Registry registry)
Method Detail

get

public Resource get(java.lang.String url)
             throws RegistryException
Description copied from class: URLHandler
Determine if get(...) on the given url can be handled. If yes, process the request and return the resulting resource. Further processing of the resource is terminated if a resource is returned. If the given url cannot be handled return null, which causes other url handlers to process the request, or the request to be reached the media type handlers.

Overrides:
get in class URLHandler
Parameters:
url - URL to identify the resource to be retrieved.
Returns:
Resource instance if the URL can be processed. Null if the request cannot be processed.
Throws:
RegistryException - URL handler implementations should handle all exceptions and throw RegistryException if the exception has to propagated to the client.


Copyright © 2007 Apache Web Services Project. All Rights Reserved.