netty5/handler/src
Trustin Lee 3ddac6adff Add ApplicationProtocolConfig.DISABLED
Motivation:

When ALPN/NPN is disabled, a user has to instantiate a new
ApplicationProtocolConfig with meaningless parameters.

Modifications:

- Add ApplicationProtocolConfig.DISABLED, the singleton instance
- Reject the constructor calls with Protocol.NONE, which doesn't make
  much sense because a user should use DISABLED instead.

Result:

More user-friendly API when ALPN/NPN is not needed by a user.
2014-10-31 14:15:43 +09:00
..
main/java/io/netty/handler Add ApplicationProtocolConfig.DISABLED 2014-10-31 14:15:43 +09:00
test Backport ALPN and Mutual Auth SSL 2014-10-31 14:15:12 +09:00