Example #1
0
 public void outboxCompleted() {
   cookies.add(OUTBOX_COMPLETED, Boolean.toString(true));
 }
Example #2
0
 public boolean hasOutboxCompleted() {
   return Boolean.parseBoolean(cookies.getValue(OUTBOX_COMPLETED));
 }
Example #3
0
 public String lastPlayedMessageId() {
   return cookies.getValue(LAST_PLAYED_VOICE_MESSAGE_ID);
 }
Example #4
0
 public void lastPlayedMessageId(String messageId) {
   cookies.add(LAST_PLAYED_VOICE_MESSAGE_ID, messageId);
 }
Example #5
0
 public OutboxContext(KooKooIVRContext kooKooIVRContext) {
   this.kooKooIVRContext = kooKooIVRContext;
   this.cookies = kooKooIVRContext.cookies();
   this.request = kooKooIVRContext.httpRequest();
   cookies.add(OUTBOX_COMPLETED, Boolean.toString(false));
 }