com.yahoo.imapnio.command.ImapClientRespDecoder 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.command;
import io.netty.handler.codec.MessageToMessageDecoder;
import java.io.IOException;
import java.util.List;
import com.sun.mail.iap.ProtocolException;
import com.sun.mail.imap.protocol.IMAPResponse;
/**
* @author kraman
*
*/
import io.netty.channel.ChannelHandlerContext;
/**
* Basic response decoder. A ResponseDecoder (as opposed to a handler) is anything that outputs an IMAPResponse.
*
* @author kraman
*/
public class ImapClientRespDecoder extends MessageToMessageDecoder {
@Override
protected void decode(final ChannelHandlerContext ctx, final String msg, final List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy