public class DefaultImapDecoder extends Object implements ImapDecoder
ImapDecoder implementation which parse the data via lookup the right
ImapCommandParser via an ImapCommandParserFactory. The
response will get generated via the StatusResponseFactory.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_INVALID_COMMANDS |
| Constructor and Description |
|---|
DefaultImapDecoder(StatusResponseFactory responseFactory,
ImapCommandParserFactory imapCommands) |
DefaultImapDecoder(StatusResponseFactory responseFactory,
ImapCommandParserFactory imapCommands,
int maxInvalidCommands) |
public static final int DEFAULT_MAX_INVALID_COMMANDS
public DefaultImapDecoder(StatusResponseFactory responseFactory, ImapCommandParserFactory imapCommands)
public DefaultImapDecoder(StatusResponseFactory responseFactory, ImapCommandParserFactory imapCommands, int maxInvalidCommands)
public ImapMessage decode(ImapRequestLineReader request, ImapSession session)
decode in interface ImapDecoderImapDecoder.decode(org.apache.james.imap.decode.ImapRequestLineReader,
org.apache.james.imap.api.process.ImapSession)Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.