All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cmonbaby.http.https.UnSafeHostnameVerifier Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
package com.cmonbaby.http.https;

import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSession;

/**
 * 

Author: Simon *

QO: 8950764 *

Email: [email protected] *

WebSize: https://www.cmonbaby.com *

Version: 1.0.0 *

Date: 2020/12/28 *

Description: */ public class UnSafeHostnameVerifier implements HostnameVerifier { @Override public boolean verify(String hostname, SSLSession session) { return false; // 自行添加判断逻辑,true->Safe,false->unsafe } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy