GeezerVison is showing netty.io — RtspResponseDecoder (Netty API Reference (4.1.141.Final))
Class RtspResponseDecoder
-
-
Field Summary
DEFAULT_ALLOW_DUPLICATE_CONTENT_LENGTHS, DEFAULT_ALLOW_PARTIAL_CHUNKS, DEFAULT_CHUNKED_SUPPORTED, DEFAULT_INITIAL_BUFFER_SIZE, DEFAULT_MAX_CHUNK_SIZE, DEFAULT_MAX_HEADER_SIZE, DEFAULT_MAX_INITIAL_LINE_LENGTH, DEFAULT_STRICT_LINE_PARSING, DEFAULT_VALIDATE_HEADERS, headersFactory, PROP_RFC9112_TRANSFER_ENCODING, RFC9112_TRANSFER_ENCODING, trailersFactory, validateHeaders
Modifier and Type
Field
Description
static final boolean
static final boolean
static final boolean
static final int
static final int
static final int
static final int
static final boolean
static final boolean
static final boolean
protected final boolean
-
Constructor Summary
Constructors
-
Method Summary
clearContentLength, decode, decodeLast, handlerRemoved0, handleTransferEncodingChunkedWithContentLength, isSwitchingToNonHttp1Protocol, isValidating, reset, splitFirstWordInitialLine, splitHeaderName, splitSecondWordInitialLine, splitThirdWordInitialLine, userEventTriggered
Modifier and Type
Method
Description
protected final void
protected void
Decode the from one ByteBuf to an other.
protected void
protected void
Gets called after the ByteToMessageDecoder was removed from the actual context and it doesn't handle
events anymore.
protected void
Invoked when a message with both a "Transfer-Encoding: chunked" and a "Content-Length" header field is detected.
protected boolean
Returns true if the server switched to a different protocol than HTTP/1.0 or HTTP/1.1, e.g.
protected boolean
void
Resets the state of the decoder so that it is ready to decode a new message.
void
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, discardSomeReadBytes, handlerRemoved, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode
Modifier and Type
Method
Description
protected int
Returns the actual number of readable bytes in the internal cumulative
buffer of this decoder.
protected void
Called once data should be decoded from the given ByteBuf.
void
void
void
protected final void
final void
Do nothing by default, sub-classes may override this method.
Returns the internal cumulative buffer of this decoder.
boolean
void
void
void
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RtspResponseDecoder
public RtspResponseDecoder()
Deprecated.
|