netty5/codec-http/src/main/java/io/netty/handler/codec/http/cookie
Stephane Landelle f6299d942c Minor ClientCookieDecoder improvements
Motivation:

* Path attribute should be null, not empty String, if it's passed as "Path=".
* Only extract attribute value when the name is recognized.
* Only extract Expires attribute value String if MaxAge is undefined as it has precedence.

Modification:

Modify ClientCookieDecoder.
Add "testIgnoreEmptyPath" test in ClientCookieDecoderTest.

Result:

More idyomatic Path behavior (like Domain).
Minor performance improvement in some corner cases.
2015-05-12 11:25:28 +02:00
..
ClientCookieDecoder.java Minor ClientCookieDecoder improvements 2015-05-12 11:25:28 +02:00
ClientCookieEncoder.java Validate cookie name and value characters Motivation: 2015-05-07 06:33:36 +02:00
Cookie.java Validate cookie name and value characters Motivation: 2015-05-07 06:33:36 +02:00
CookieDecoder.java Validate cookie name and value characters Motivation: 2015-05-07 06:33:36 +02:00
CookieEncoder.java Validate cookie name and value characters Motivation: 2015-05-07 06:33:36 +02:00
CookieHeaderNames.java Validate cookie name and value characters Motivation: 2015-05-07 06:33:36 +02:00
CookieUtil.java Validate cookie name and value characters Motivation: 2015-05-07 06:33:36 +02:00
DefaultCookie.java Validate cookie name and value characters Motivation: 2015-05-07 06:33:36 +02:00
package-info.java Validate cookie name and value characters Motivation: 2015-05-07 06:33:36 +02:00
ServerCookieDecoder.java Validate cookie name and value characters Motivation: 2015-05-07 06:33:36 +02:00
ServerCookieEncoder.java Validate cookie name and value characters Motivation: 2015-05-07 06:33:36 +02:00