apache httpclient 4.4: HostnameVerifier transition from 4.3.x

后端 未结 4 1969
忘掉有多难
忘掉有多难 2021-02-07 07:27

HttpClient 4.3 had three static variables in org.apache.http.conn.ssl.SSLConnectionSocketFactory:

  1. STRICT_HOSTNAME_VERIFIER
  2. BROWSER_COMPATIBLE
4条回答
  •  渐次进展
    2021-02-07 07:51

    Actually, the javadoc of AllowAllHostnameVerifier gives a direct replacement for ALLOW_ALL__HOSTNAME_VERIFIER, which is NoopHostnameVerifier .

提交回复
热议问题