@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, userEventTriggeredchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtensureNotSharable, handlerAdded, isSharablepublic 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.LineBasedFrameDecoderExceptionCopyright © 2008–2025 The Netty Project. All rights reserved.