e1c94363eb
Motivation: SslContext implementations have tons of contructors, most of them deprecated as we want to enforce builder usage in Netty 5. Cleaning them up is a requirement prior to introducing new parameters such as hostname verification. Modifications: * Make SslContext implementations classes and constructors package private, users are supposed to use the SslContextBuilder. * Drop all but one constructor. The exception for now is with Jdk(Client|Server)Context that still has an additional constructor that takes an ApplicationProtocolNegotiator parameter. ApplicationProtocolNegotiator usage is supposed to be dropped in favor of ApplicationProtocolConfig and this constructor is only used in tests, so I guess it will be dropped to in a follow up. Result: Deprecated code dropped. Path cleaned up for introducing new features with having to introduce yet another constructor. |
||
---|---|---|
.. | ||
src/main/java/io/netty/testsuite | ||
.gitignore | ||
pom.xml |