public class DefaultImapDecoderFactory implements ImapDecoderFactory {
public static final ImapDecoder createDecoder() {
final UnpooledStatusResponseFactory unpooledStatusResponseFactory = new UnpooledStatusResponseFactory();
final ImapCommandParserFactory imapCommands = new ImapParserFactory(unpooledStatusResponseFactory);
final ImapDecoder result = new DefaultImapDecoder(unpooledStatusResponseFactory, imapCommands);
return result;
}