netty5/codec/src/main/java/io/netty/handler/codec
Jakob Buchgraber aed13ba5ef Split a JSON byte stream into JSON objects/arrays. Fixes #2536
Motivation:

See GitHub Issue #2536.

Modifications:

Introduce the class JsonObjectDecoder to split a JSON byte stream
into individual JSON objets/arrays.

Result:

A Netty application can now handle a byte stream where multiple JSON
documents follow eachother as opposed to only a single JSON document
per request.
2014-07-03 18:34:29 +09:00
..
base64 Fix most inspector warnings 2014-07-02 19:55:07 +09:00
bytes [#1714] Make sure ByteArrayDecoder also works correctly with pooled buffers 2013-08-09 08:40:43 +02:00
compression Fix most inspector warnings 2014-07-02 19:55:07 +09:00
json Split a JSON byte stream into JSON objects/arrays. Fixes #2536 2014-07-03 18:34:29 +09:00
marshalling Fix most inspector warnings 2014-07-02 19:55:07 +09:00
protobuf [#2339] Reduce memory usage in ProtobufVarint32LengthFieldPrepender 2014-03-28 19:57:06 +01:00
serialization Fix most inspector warnings 2014-07-02 19:55:07 +09:00
string [#1906] Use a ByteBuf allocator from the ByteBufAllocator when encode Strings 2013-10-09 21:18:08 +02:00
xml CDATA support 2014-02-13 17:13:49 -08:00
AsciiHeadersEncoder.java Introduce TextHeaders and AsciiString 2014-06-14 15:36:19 +09:00
AsciiString.java Backport the additional AsciiString/TextHeader changes from master 2014-06-14 17:33:34 +09:00
ByteToMessageCodec.java Remove condition in ChannelHandlerAdapter.isSharable() by caching the result of the annotation lookup. 2014-03-12 12:31:52 +01:00
ByteToMessageDecoder.java Allow the user to call slice().retain() or duplicate.retain() in his/her ByteToMessageDecoder.decode(...) method. 2014-04-07 11:53:28 +02:00
CodecException.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00
CorruptedFrameException.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00
DecoderException.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00
DecoderResult.java Add a shortcut method for collision-free naming 2014-02-13 15:17:09 -08:00
DecoderResultProvider.java Introduce MessageAggregator and DecoderResultProvider 2014-06-05 16:51:14 +09:00
DefaultTextHeaders.java Fix most inspector warnings 2014-07-02 19:55:07 +09:00
DelimiterBasedFrameDecoder.java Use ByteBuf.readSlice(...).retain() to minimize memory copies. 2014-05-10 17:20:53 +02:00
Delimiters.java Merge MessageBufs and ByteBufs into Unpooled 2012-06-11 17:02:29 +09:00
EmptyTextHeaders.java Backport the additional AsciiString/TextHeader changes from master 2014-06-14 17:33:34 +09:00
EncoderException.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00
FixedLengthFrameDecoder.java Use ByteBuf.readSlice(...).retain() to minimize memory copies. 2014-05-10 17:20:53 +02:00
LengthFieldBasedFrameDecoder.java Allow a user to define his/her own length field decoder 2013-11-02 14:29:51 +01:00
LengthFieldPrepender.java [#1907] LengthFieldPrepender should better extend MessageToMessageEncoder for less memory copies 2014-02-13 14:52:12 -08:00
LineBasedFrameDecoder.java Use ByteBuf.readSlice(...).retain() to minimize memory copies. 2014-05-10 17:20:53 +02:00
MessageAggregationException.java Introduce MessageAggregator and DecoderResultProvider 2014-06-05 16:51:14 +09:00
MessageAggregator.java Introduce MessageAggregator and DecoderResultProvider 2014-06-05 16:51:14 +09:00
MessageToByteEncoder.java MessageToByteEncoder always starts with ByteBuf that use initalCapacity == 0 2014-06-24 13:55:21 +09:00
MessageToMessageCodec.java Add and correct javadocs 2013-07-13 19:42:02 +02:00
MessageToMessageDecoder.java Tiny optimizations 2013-08-09 08:24:24 +02:00
MessageToMessageEncoder.java [#2525] Use VoidChannelPromise in MessageToMessageEncoder when possible 2014-06-01 19:26:20 +02:00
package-info.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00
PrematureChannelClosureException.java Code clean-up based on IntelliJ code analysis 2012-06-11 22:54:28 +09:00
ReplayingDecoder.java fix example missing break statement in ReplayingDecoder 2014-06-28 21:42:23 +02:00
ReplayingDecoderBuffer.java Fix incorrect bytesBefore/indexOf() in ReplayingDecoderBuffer 2014-06-26 18:56:33 +09:00
TextHeaderProcessor.java Introduce TextHeaders and AsciiString 2014-06-14 15:36:19 +09:00
TextHeaders.java Backport the additional AsciiString/TextHeader changes from master 2014-06-14 17:33:34 +09:00
TooLongFrameException.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00
UnsupportedMessageTypeException.java Add a lot of javadocs to make usage more clear 2012-12-21 22:22:40 +01:00