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, setSingleDecode
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
public 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.ByteToMessageDecoder
protected 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.ByteToMessageDecoder
java.lang.Exception
Copyright © 2015. All Rights Reserved.