@UnstableApi
public final class SmtpResponseDecoder
extends io.netty.handler.codec.LineBasedFrameDecoder
Constructor and Description |
---|
SmtpResponseDecoder(int maxLineLength)
Creates a new instance that enforces the given
maxLineLength . |
Modifier and Type | Method and Description |
---|---|
protected SmtpResponse |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf buffer) |
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
ensureNotSharable, handlerAdded, isSharable
public SmtpResponseDecoder(int maxLineLength)
maxLineLength
.protected SmtpResponse decode(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf buffer) throws Exception
decode
in class io.netty.handler.codec.LineBasedFrameDecoder
Exception
Copyright © 2008–2017 The Netty Project. All rights reserved.