sslcontextbuilder and SSLContexts deprecated
I have actually just been looking at this and it appears that the HttpCLient SSLContexts class is in the process of being moved from org.apache.http.conn.ssl.SSLContexts to org.apache.http.ssl.SSLContexts. I changed my imports to these new packages and it appears to be good now. Not sure what your reference is for sslcontextbuilder but I am pretty sure it has an alternate implementation as well. Let me know more details and I can check.
you can change it as below code
// Fixing deprecated code to use current HttpClient implementations Sekito.Lv 01/30/2019 11:29 Start
import org.apache.http.ssl.SSLContexts;
import org.apache.http.ssl.SSLContextBuilder;
//import org.apache.http.conn.ssl.SSLContexts;
//import org.apache.http.conn.ssl.SSLContextBuilder;
// Fixing deprecated code to use current HttpClient implementations Sekito.Lv 01/30/2019 11:29 End