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