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