public class DavPlugin extends java.lang.Object implements RestPluginProcess, RestPluginSupportedMethods, RestPluginProducedTypes
| Constructor and Description |
|---|
DavPlugin() |
| Modifier and Type | Method and Description |
|---|---|
ContentType[] |
listProducedTypes(Method method)
List of produced types
|
Method[] |
listSupportedMethods()
List of methods supported.
|
java.lang.Object |
restCreate(WebClient client,
RestDefinition rd,
MutableDataSource mds)
HTTP POST calls the the Create ReST service.
|
java.lang.Object |
restDelete(WebClient client,
RestDefinition restDefinition,
MutableDataSource mds)
HTTP DELETE calls the the Delete ReST service.
|
java.lang.Object |
restRetrieve(WebClient client,
RestDefinition restDefinition,
ReadOnlyDataSource rds)
HTTP GET calls the the Retrieval ReST service.
|
java.lang.Object |
restUpdate(WebClient client,
RestDefinition rd,
MutableDataSource mds)
HTTP PUT calls the the Update ReST service.
|
public java.lang.Object restCreate(WebClient client, RestDefinition rd, MutableDataSource mds) throws java.lang.Exception
RestPluginProcessrestCreate in interface RestPluginProcessclient - the client. Null means check only of opsrd - the definitionmds - the data source to usejava.lang.UnsupportedOperationException - if this method is NOT supported.ExceptionResponse - an error has occurred.java.lang.Exceptionpublic Method[] listSupportedMethods() throws java.lang.Exception
RestPluginSupportedMethodslistSupportedMethods in interface RestPluginSupportedMethodsjava.lang.Exceptionpublic java.lang.Object restRetrieve(WebClient client, RestDefinition restDefinition, ReadOnlyDataSource rds) throws java.lang.UnsupportedOperationException, java.lang.Exception, java.lang.IllegalArgumentException
RestPluginProcessrestRetrieve in interface RestPluginProcessclient - the client. Null means check only of opsrestDefinition - the definitionrds - the data source to usejava.lang.UnsupportedOperationException - if this method is NOT supported.java.lang.Exception - an error has occurred.java.lang.IllegalArgumentExceptionpublic java.lang.Object restUpdate(WebClient client, RestDefinition rd, MutableDataSource mds) throws java.lang.UnsupportedOperationException, java.lang.Exception, java.lang.IllegalArgumentException
RestPluginProcessrestUpdate in interface RestPluginProcessclient - the client. Null means check only of opsrd - the definitionmds - the data source to usejava.lang.UnsupportedOperationException - if this method is NOT supported.ExceptionResponse - an error has occurred.java.lang.Exceptionjava.lang.IllegalArgumentExceptionpublic java.lang.Object restDelete(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws java.lang.UnsupportedOperationException, java.lang.Exception, java.lang.IllegalArgumentException
RestPluginProcessrestDelete in interface RestPluginProcessclient - the client. Null means check only of opsrestDefinition - the definitionmds - the data source to use.java.lang.UnsupportedOperationException - if this method is NOT supported.ExceptionResponse - an error has occurred.java.lang.Exceptionjava.lang.IllegalArgumentExceptionpublic ContentType[] listProducedTypes(Method method) throws ExceptionResponse
RestPluginProducedTypeslistProducedTypes in interface RestPluginProducedTypesmethod - the methodExceptionResponsestSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.