netty5/example/src/main/java/io/netty/example
Xiaoyan Lin e053b96b5c Set the length fields of memcache messages automatically
Motivation:

People need to set all length fields manually when creating a memcache message and it's error prone. See #2736 for more dicussion.

Modifications:

This patch adds the logic to update the keyLength, extrasLength and totalBodyLength when key, extras or content is set.

Result:

The length fields of memcache messages will be updated automatically.
2016-04-07 06:30:42 +02:00
..
discard [#3531] Create SslContext.Builder 2015-04-14 07:28:34 +02:00
echo [#3531] Create SslContext.Builder 2015-04-14 07:28:34 +02:00
factorial [#3531] Create SslContext.Builder 2015-04-14 07:28:34 +02:00
file [#3531] Create SslContext.Builder 2015-04-14 07:28:34 +02:00
http Handle only those http requests that equal to adjusted websocket path 2016-03-04 08:36:14 +01:00
http2 Map HTTP/2 Streams to Channels 2016-03-25 12:14:44 -07:00
localecho Clean up the examples 2014-05-23 17:13:09 +09:00
memcache/binary Set the length fields of memcache messages automatically 2016-04-07 06:30:42 +02:00
objectecho [#3531] Create SslContext.Builder 2015-04-14 07:28:34 +02:00
portunification [#3531] Create SslContext.Builder 2015-04-14 07:28:34 +02:00
proxy [#4347] Remove not needed write operation from example. 2015-10-14 10:57:04 +02:00
qotm Clean up the examples 2014-05-23 17:13:09 +09:00
rxtx Clean up the examples 2014-05-23 17:13:09 +09:00
sctp SCTP echo client/server multi-homing examples 2015-05-22 22:24:09 +02:00
securechat [#3531] Create SslContext.Builder 2015-04-14 07:28:34 +02:00
socksproxy Revamp io.netty.handler.codec.socksx 2015-02-10 09:14:13 +09:00
spdy Refactor of HttpUtil and HttpHeaderUtil 2015-08-27 08:49:58 -07:00
stomp Headers Performance Boost and Interface Simplification 2015-08-17 08:50:11 -07:00
telnet [#3531] Create SslContext.Builder 2015-04-14 07:28:34 +02:00
udt Fix most inspector warnings 2014-07-02 19:55:07 +09:00
uptime Clean up the examples 2014-05-23 17:13:09 +09:00
worldclock [#3531] Create SslContext.Builder 2015-04-14 07:28:34 +02:00