com.yahoo.imapnio.async.request.ImapClientConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of imapnio.core Show documentation
Show all versions of imapnio.core Show documentation
imapnio component ${project.name}
The newest version!
package com.yahoo.imapnio.async.request;
/**
* Class for constant string in the IMAP asynchronous client.
*/
final class ImapClientConstants {
/** Space character. */
static final char SPACE = ' ';
/** Literal to cancel the command when server responds error. */
static final char CANCEL_B = '*';
/** Literal for CR and LF. */
static final int CRLFLEN = "\r\n".length();
/** NULL character. */
static final char NULL = '\0';
/** Start of header character. */
static final char SOH = 0x01;
/** Left parenthesis and space. */
static final char L_PAREN = '(';
/** Left parenthesis and space. */
static final char R_PAREN = ')';
/** Literal for colon. */
static final String COLON = ":";
/** Literal for plus. */
static final char PLUS = '+';
/** Literal for minus. */
static final char MINUS = '-';
/** SASL-IR capability. */
static final String SASL_IR = "SASL-IR";
/** LITERAL+ capability. */
static final String LITERAL_PLUS = "LITERAL+";
/** Extra buffer length for command line builder to add. */
static final int PAD_LEN = 100;
/**
* Private constructor to avoid constructing instance of this class.
*/
private ImapClientConstants() {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy