Class SSL

  • All Implemented Interfaces:
    org.springframework.http.client.AsyncClientHttpRequestFactory, org.springframework.http.client.ClientHttpRequestFactory

    public class SSL
    extends org.springframework.http.client.SimpleClientHttpRequestFactory
    跳过证书验证封装
    • Constructor Detail

      • SSL

        public SSL()
    • Method Detail

      • prepareConnection

        protected void prepareConnection​(HttpURLConnection connection,
                                         String httpMethod)
                                  throws IOException
        Overrides:
        prepareConnection in class org.springframework.http.client.SimpleClientHttpRequestFactory
        Throws:
        IOException