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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprepareConnection(HttpURLConnection connection, String httpMethod) Methods inherited from class org.springframework.http.client.SimpleClientHttpRequestFactory
createAsyncRequest, createRequest, openConnection, setBufferRequestBody, setChunkSize, setConnectTimeout, setOutputStreaming, setProxy, setReadTimeout, setTaskExecutor
-
Constructor Details
-
SSL
public SSL()
-
-
Method Details
-
prepareConnection
protected void prepareConnection(HttpURLConnection connection, String httpMethod) throws IOException - Overrides:
prepareConnectionin classorg.springframework.http.client.SimpleClientHttpRequestFactory- Throws:
IOException
-