fr.paris.lutece.plugins.directory.modules.rest.handlers
Class InsertRecordHandler
java.lang.Object
fr.paris.lutece.plugins.directory.modules.rest.handlers.AbstractUriHandler
fr.paris.lutece.plugins.directory.modules.rest.handlers.InsertRecordHandler
- All Implemented Interfaces:
- UriHandler
public class InsertRecordHandler
- extends AbstractUriHandler
Insert a Record URI Handler
|
Method Summary |
boolean |
isHandledUri(java.lang.String strURI,
java.lang.String strMethod,
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,
javax.servlet.ServletRequest request)
Process the URI to build the response |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InsertRecordHandler
public InsertRecordHandler()
isHandledUri
public boolean isHandledUri(java.lang.String strURI,
java.lang.String strMethod,
java.lang.String strContentType)
- Tells if the current handler should handle the given URI with a given content type
- Parameters:
strURI - The URIstrMethod - The method (GET, POST, PUT, DELETE)strContentType - The request content type
- Returns:
- True if the handler should handle this URI
processUri
public java.lang.String processUri(java.lang.String strURI,
DirectoryRestService service,
javax.servlet.ServletRequest request)
- Process the URI to build the response
- Parameters:
strURI - The request URIservice - The directory service
- Returns:
- The response
Copyright © 2010 Mairie de Paris. All Rights Reserved.