public class CouchNotificationSender
extends org.tiogasolutions.notify.notifier.sender.AbstractNotificationSender
| Modifier and Type | Class and Description |
|---|---|
static class |
CouchNotificationSender.ProcessingException |
| Constructor and Description |
|---|
CouchNotificationSender(CouchNotificationSenderSetup setup) |
CouchNotificationSender(java.lang.String couchUrl,
java.lang.String databaseName,
java.lang.String username,
java.lang.String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
protected java.lang.String |
generateAttachmentJson(org.tiogasolutions.notify.notifier.request.NotificationRequest request,
javax.ws.rs.client.Client client,
java.lang.String requestId)
Appears this methods generates the attachment meta portion of the couch document by re-fetching the request.
|
java.util.concurrent.Future<org.tiogasolutions.notify.notifier.request.NotificationResponse> |
send(org.tiogasolutions.notify.notifier.request.NotificationRequest request) |
public CouchNotificationSender(java.lang.String couchUrl,
java.lang.String databaseName,
java.lang.String username,
java.lang.String password)
public CouchNotificationSender(CouchNotificationSenderSetup setup)
public java.util.concurrent.Future<org.tiogasolutions.notify.notifier.request.NotificationResponse> send(org.tiogasolutions.notify.notifier.request.NotificationRequest request)
protected java.lang.String generateAttachmentJson(org.tiogasolutions.notify.notifier.request.NotificationRequest request,
javax.ws.rs.client.Client client,
java.lang.String requestId)
throws CouchNotificationSender.ProcessingException
request - -client - -requestId - -CouchNotificationSender.ProcessingException - -public void dispose()