netty5/codec-memcache/src/main/java/io/netty/handler/codec/memcache
Fabien Renaud 52c5389190 codec-memcache: copy metadata in binary full request response (#9160)
Motivations
-----------
Calling `copy()`, `duplicate()` or `replace()` on `FullBinaryMemcacheResponse`
or `FullBinaryMemcacheRequest` instances should copy status, opCode, etc.
that are defined in `AbstractBinaryMemcacheMessage`.

Modifications
-------------
 - Modified duplicate, copy and replace methods in
DefaultFullBinaryMemcacheRequest and DefaultFullBinaryMemcacheResponse
to always copy metadata from parent classes.
 - Unit tests verifying duplicate, copy and replace methods for
DefaultFullBinaryMemcacheRequest and DefaultFullBinaryMemcacheResponse
copy buffers and metadata as expected.

Result
------
Calling copy(), duplicate() or replace() methods on
DefaultFullBinaryMemcacheRequest or DefaultFullBinaryMemcacheResponse
produces valid copies with all expected metadata.

Fixes #9159
2019-05-22 11:05:52 +02:00
..
binary codec-memcache: copy metadata in binary full request response (#9160) 2019-05-22 11:05:52 +02:00
AbstractMemcacheObject.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
AbstractMemcacheObjectAggregator.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
AbstractMemcacheObjectDecoder.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
AbstractMemcacheObjectEncoder.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
DefaultLastMemcacheContent.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
DefaultMemcacheContent.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
FullMemcacheMessage.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
LastMemcacheContent.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
MemcacheContent.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
MemcacheMessage.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
MemcacheObject.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
package-info.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00