netty5/codec-memcache/src/main/java/io/netty/handler/codec/memcache
Fabien Renaud 73dae929e3 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:06:16 +02:00
..
binary codec-memcache: copy metadata in binary full request response (#9160) 2019-05-22 11:06:16 +02:00
AbstractMemcacheObject.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01: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 migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01: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