commands/CommandTemplate.java

greenmail · greenmail-core/src/main/java/com/icegreen/greenmail/imap/commands/CommandTemplate.java · java · Apache-2.0
email

Abstract base class for IMAP command implementations, handling parsing and error reporting.

// Source: https://github.com/greenmail-mail-test/greenmail | License: Apache-2.0
// Provided via justclaw.it.com; keep this notice with the code.
/*
 * Copyright (c) 2014 Wael Chatila / Icegreen Technologies. All Rights Reserved.
 * This software is released under the Apache license 2.0
 * This file has been modified by the copyright holder.
 * Original file can be found at http://james.apache.org
 */
package com.icegreen.greenmail.imap.commands;

import com.icegreen.greenmail.imap.*;
import com.icegreen.greenmail.store.FolderException;
import com.icegreen.greenmail.store.MailFolder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Base class for all command implementations. This class provides common
 * core functionality useful for all {@link com.icegreen.greenmail.imap.

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key