public class WhatsAppInboundStatusHandler extends BaseInboundStatusHandler
Modifier and Type | Field and Description |
---|---|
protected static String |
EXTERNAL_STATUS_DELETED |
protected static String |
EXTERNAL_STATUS_DELIVERED |
protected static String |
EXTERNAL_STATUS_FAILED |
protected static String |
EXTERNAL_STATUS_READ |
protected static String |
EXTERNAL_STATUS_SENT |
protected org.slf4j.Logger |
logger |
protected MessageService |
messageService |
externalSystemId
Constructor and Description |
---|
WhatsAppInboundStatusHandler(MessageService messageService) |
getExternalSystemId, handleStatus
protected static final String EXTERNAL_STATUS_SENT
protected static final String EXTERNAL_STATUS_DELIVERED
protected static final String EXTERNAL_STATUS_READ
protected static final String EXTERNAL_STATUS_FAILED
protected static final String EXTERNAL_STATUS_DELETED
protected final org.slf4j.Logger logger
protected final MessageService messageService
public WhatsAppInboundStatusHandler(MessageService messageService)
protected void handleInternalStatus(InboundStatusDto status)
handleInternalStatus
in class BaseInboundStatusHandler
protected void handleInternalSentStatus(InboundStatusDto status)
protected void handleInternalTimeoutStatus(InboundStatusDto status)
protected void handleInternalContentTimeoutStatus(InboundStatusDto status)
protected void handleInternalUploadTimeoutStatus(InboundStatusDto status)
protected void handleInternalContentDisabledStatus(InboundStatusDto status)
protected void handleInternalFailedStatus(InboundStatusDto status)
protected void handleInternalUnknownStatus(InboundStatusDto status)
protected void handleExternalStatus(InboundStatusDto status)
handleExternalStatus
in class BaseInboundStatusHandler
protected void handleExternalStatusSent(InboundStatusDto status)
protected void handleExternalStatusDelivered(InboundStatusDto status)
protected void handleExternalStatusRead(InboundStatusDto status)
protected void handleExternalStatusFailed(InboundStatusDto status)
protected void handleExternalStatusDeleted(InboundStatusDto status)
protected void handleExternalStatusUnknown(InboundStatusDto status)
protected void handleUnknownStatus(InboundStatusDto status)
handleUnknownStatus
in class BaseInboundStatusHandler
protected void sendMessageForStatus(String messageCode, InboundStatusDto status)
Copyright © 2019. All rights reserved.