public class MaileonPingService extends AbstractMaileonService
MaileonPingService
client sends operational requests to the PingResource
service.AbstractMaileonService.QueryParameters
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SERVICE
The Constant SERVICE.
|
MAILEON_XML_TYPE
Constructor and Description |
---|
MaileonPingService(MaileonConfiguration config)
Instantiates a new Maileon ping service.
|
Modifier and Type | Method and Description |
---|---|
ResponseWrapper |
checkCreate()
Check the authorization of the API-Key for create actions.
|
ResponseWrapper |
checkDelete()
Checks the authorization of the API-Key for delete actions.
|
ResponseWrapper |
checkRetrieve()
Checks the authorization of the API-Key for retrieve actions.
|
ResponseWrapper |
checkUpdate()
Check the authorization of the API-Key for update actions.
|
delete, delete, delete, encodePath, get, get, get, isCompressionEnabled, isDebug, isRequestCompressionEnabled, post, post, post, put, put, put, setCompressionEnabled, setDebug, setRequestCompressionEnabled
public static final java.lang.String SERVICE
public MaileonPingService(MaileonConfiguration config)
config
- The Maileon API-Configurationpublic ResponseWrapper checkRetrieve() throws MaileonException
ResponseWrapper
for the corresponding responseMaileonException
- If the request completed unsuccessfully (the API-key does not hold the right to retrieve data or another problem occured) an MaileonException
will be thrownpublic ResponseWrapper checkDelete() throws MaileonException
ResponseWrapper
for the corresponding responseMaileonException
- If the request completed unsuccessfully (the API-key does not hold the right to retrieve data or another problem occured) an MaileonException
will be thrownpublic ResponseWrapper checkCreate() throws MaileonException
ResponseWrapper
for the corresponding responseMaileonException
- If the request completed unsuccessfully (the API-key does not hold the right to retrieve data or another problem occured) an MaileonException
will be thrownpublic ResponseWrapper checkUpdate() throws MaileonException
ResponseWrapper
for the corresponding responseMaileonException
- If the request completed unsuccessfully (the API-key does not hold the right to retrieve data or another problem occured) an MaileonException
will be thrownCopyright © 2018. All Rights Reserved.