netty5/codec-http/src
Norman Maurer a2732c6542 [#4755] Make WebSocketClientCompressionHandler @Sharable
Motivation:

WebSocketClientCompressionHandler is stateless so it should be @Sharable.

Modifications:

Add @Sharable annotation to WebSocketClientCompressionHandler, make constructor private and add static field to get the instance.

Result:

Less object creation.
2016-01-28 10:28:09 +01:00
..
main/java/io/netty/handler/codec [#4755] Make WebSocketClientCompressionHandler @Sharable 2016-01-28 10:28:09 +01:00
test Set default CONTENT_TYPE when it is absent in multipart request body 2016-01-26 10:47:11 +01:00