fr.paris.lutece.plugins.directory.modules.rest.handlers
Class JsonRecordsListHandler

java.lang.Object
  extended by fr.paris.lutece.plugins.directory.modules.rest.handlers.AbstractUriHandler
      extended by fr.paris.lutece.plugins.directory.modules.rest.handlers.JsonRecordsListHandler
All Implemented Interfaces:
UriHandler

public class JsonRecordsListHandler
extends AbstractUriHandler

JSON Records List Handler


Field Summary
 
Fields inherited from class fr.paris.lutece.plugins.directory.modules.rest.handlers.AbstractUriHandler
CONTENT_TYPE_JSON, EXTENSION_JSON, EXTENSION_XML
 
Constructor Summary
JsonRecordsListHandler()
           
 
Method Summary
 boolean isHandledUri(java.lang.String strURI, java.lang.String strContentType)
          Tells if the current handler should handle the given URI with a given content type
 java.lang.String processUri(java.lang.String strURI, DirectoryRestService service, java.util.Map mapParameters)
          Process the URI to build the response
 
Methods inherited from class fr.paris.lutece.plugins.directory.modules.rest.handlers.AbstractUriHandler
getResourceId, isUriContentTypeMatch, isUriExtensionMatch, isUriPathMatch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonRecordsListHandler

public JsonRecordsListHandler()
Method Detail

isHandledUri

public boolean isHandledUri(java.lang.String strURI,
                            java.lang.String strContentType)
Tells if the current handler should handle the given URI with a given content type

Parameters:
strURI - The URI
strContentType - The request content type
Returns:
True il the handler should handle this URI

processUri

public java.lang.String processUri(java.lang.String strURI,
                                   DirectoryRestService service,
                                   java.util.Map mapParameters)
Process the URI to build the response

Parameters:
strURI - The request URI
service - The directory service
mapParameters - The request parameters
Returns:
The response


Copyright © 2010 Mairie de Paris. All Rights Reserved.