|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.directory.modules.rest.handlers.AbstractUriHandler
fr.paris.lutece.plugins.directory.modules.rest.handlers.XmlRecordHandler
public class XmlRecordHandler
XML Record URI Handler
| Field Summary |
|---|
| Fields inherited from class fr.paris.lutece.plugins.directory.modules.rest.handlers.AbstractUriHandler |
|---|
CONTENT_TYPE_JSON, EXTENSION_JSON, EXTENSION_XML, METHOD_DELETE, METHOD_GET, METHOD_POST, METHOD_PUT, URI_BASE_PATH_PATTERN |
| Constructor Summary | |
|---|---|
XmlRecordHandler()
|
|
| 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 fr.paris.lutece.plugins.directory.modules.rest.handlers.AbstractUriHandler |
|---|
getDirectoryId, getResourceId, isUriContentTypeMatch, isUriExtensionMatch, isUriPathGloballyMatch, isUriPathMatch |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlRecordHandler()
| Method Detail |
|---|
public boolean isHandledUri(java.lang.String strURI,
java.lang.String strMethod,
java.lang.String strContentType)
strURI - The URIstrMethod - The method (GET, POST, PUT, DELETE)strContentType - The request content type
public java.lang.String processUri(java.lang.String strURI,
DirectoryRestService service,
javax.servlet.ServletRequest request)
strURI - The request URIservice - The directory service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||