Package cn.mapway.spring.tools
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidprepareConnection(HttpURLConnection connection, String httpMethod)
-
-
-
Method Detail
-
prepareConnection
protected void prepareConnection(HttpURLConnection connection, String httpMethod) throws IOException
- Overrides:
prepareConnectionin classorg.springframework.http.client.SimpleClientHttpRequestFactory- Throws:
IOException
-
-