public class ExpressInterestV2 extends java.lang.Object implements RestPluginProcess
Constructor and Description |
---|
ExpressInterestV2() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
decodeExpressInterest(java.lang.String token) |
static java.lang.String |
encodeExpressInterest(Contact contact,
Task task) |
java.lang.Object |
restCreate(WebClient client,
RestDefinition restDefinition,
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 mds1)
HTTP GET calls the the Retrieval ReST service.
|
java.lang.Object |
restUpdate(WebClient client,
RestDefinition restDefinition,
MutableDataSource mds)
HTTP PUT calls the the Update ReST service.
|
public java.lang.Object restRetrieve(WebClient client, RestDefinition restDefinition, ReadOnlyDataSource mds1) throws java.lang.Exception
RestPluginProcess
restRetrieve
in interface RestPluginProcess
client
- the client. Null means check only of opsrestDefinition
- the definitionmds1
- the data source to usejava.lang.UnsupportedOperationException
- if this method is NOT supported.java.lang.Exception
- an error has occurred.public java.lang.Object restCreate(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws java.lang.Exception
RestPluginProcess
restCreate
in interface RestPluginProcess
client
- the client. Null means check only of opsrestDefinition
- the definitionmds
- the data source to usejava.lang.UnsupportedOperationException
- if this method is NOT supported.ExceptionResponse
- an error has occurred.java.lang.Exception
public java.lang.Object restUpdate(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws java.lang.Exception
RestPluginProcess
restUpdate
in interface RestPluginProcess
client
- the client. Null means check only of opsrestDefinition
- the definitionmds
- the data source to usejava.lang.UnsupportedOperationException
- if this method is NOT supported.ExceptionResponse
- an error has occurred.java.lang.Exception
public java.lang.Object restDelete(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws java.lang.Exception
RestPluginProcess
restDelete
in interface RestPluginProcess
client
- 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.Exception
public static java.lang.String[] decodeExpressInterest(java.lang.String token) throws java.lang.Exception
token
- encoded stringjava.io.UnsupportedEncodingException
java.lang.Exception
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.