Apache HttpClient https访问
信任证书,访问https跟http一样。 private static final String HTTP = "http"; private static final String HTTPS = "https"; private static SSLConnectionSocketFactory sslsf = null; private static Pooli...
原创
2020-04-24 16:07:42 ·
434 阅读 ·
0 评论