Class SSL

java.lang.Object
org.springframework.http.client.SimpleClientHttpRequestFactory
cn.mapway.spring.tools.SSL
All Implemented Interfaces:
org.springframework.http.client.AsyncClientHttpRequestFactory, org.springframework.http.client.ClientHttpRequestFactory

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

    Constructors
    Constructor
    Description
    SSL()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    prepareConnection(HttpURLConnection connection, String httpMethod)
     

    Methods inherited from class org.springframework.http.client.SimpleClientHttpRequestFactory

    createAsyncRequest, createRequest, openConnection, setBufferRequestBody, setChunkSize, setConnectTimeout, setOutputStreaming, setProxy, setReadTimeout, setTaskExecutor

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SSL

      public SSL()
  • Method Details

    • prepareConnection

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