forked from netty/netty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swap to SslContextBuilder in examples
Motivation: Using factory methods of SslContext is deprecated. Code should be using SslContextBuilder instead. This would have been done when the old methods were deprecated, but memcache and http2 examples didn't exist in the 4.0 branch which the PR was against. Modifications: Swap to the new construction pattern. Result: No more deprecated warnings during build of examples. Users are instructed to use the new pattern.
- Loading branch information
1 parent
f23b7b4
commit 2927cdd
Showing
3 changed files
with
30 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters