sslcontextbuilder and SSLContexts deprecated

后端 未结 2 804
闹比i
闹比i 2021-01-07 18:30

I am using JDK1.8 with JDK Compilance JavaSE-1.7, Eclipse Luna, and Apache httpclient 4.4.1.

I am getting warning in Eclipse that sslcontextbuilder and

2条回答
  •  隐瞒了意图╮
    2021-01-07 19:23

    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.

提交回复
热议问题