1 17 18 package org.apache.james.imapserver; 19 20 public interface ImapConstants 21 { 22 String OK = "OK"; 24 String NO = "NO"; 25 String BAD = "BAD"; 26 String UNTAGGED = "*"; 27 28 String SP = " "; 29 String VERSION = "IMAP4rev1"; 30 31 String AUTH_FAIL_MSG 32 = "NO Command not authorized on this mailbox"; 33 String BAD_LISTRIGHTS_MSG 34 = "BAD Command should be <tag> <LISTRIGHTS> <mailbox> <identifier>"; 35 String NO_NOTLOCAL_MSG 36 = "NO Mailbox does not exist on this server"; 37 38 boolean DEEP_DEBUG = true; 40 41 int NORMAL_CLOSE = 0; 43 int OK_BYE = 1; 44 int UNTAGGED_BYE = 2; 45 int TAGGED_NO = 3; 46 int NO_BYE = 4; 47 48 String LIST_WILD = "*"; 49 String LIST_WILD_FLAT = "%"; 50 char[] CTL = {}; 51 String [] ATOM_SPECIALS 52 = {"(", ")", "{", " ", LIST_WILD, LIST_WILD_FLAT, }; 53 54 55 } 56 | Popular Tags |