public class SipMessageStreamDecoder
extends io.netty.handler.codec.ByteToMessageDecoder
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_ALLOWED_CONTENT_LENGTH |
static int |
MAX_ALLOWED_HEADERS_SIZE
The maximum allowed size of ALL headers combined (in bytes).
|
static int |
MAX_ALLOWED_INITIAL_LINE_SIZE
The maximum allowed initial line.
|
| Constructor and Description |
|---|
SipMessageStreamDecoder() |
SipMessageStreamDecoder(Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf buffer,
java.util.List<java.lang.Object> out) |
boolean |
isSingleDecode() |
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, handlerRemoved, handlerRemoved0, internalBuffer, setSingleDecodechannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredpublic static final int MAX_ALLOWED_INITIAL_LINE_SIZE
public static final int MAX_ALLOWED_HEADERS_SIZE
public static final int MAX_ALLOWED_CONTENT_LENGTH
public SipMessageStreamDecoder(Clock clock)
public SipMessageStreamDecoder()
public boolean isSingleDecode()
isSingleDecode in class io.netty.handler.codec.ByteToMessageDecoderprotected void decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf buffer,
java.util.List<java.lang.Object> out)
throws java.lang.Exception
decode in class io.netty.handler.codec.ByteToMessageDecoderjava.lang.ExceptionCopyright © 2015. All Rights Reserved.