
com.star.net.http.ssl.TrustAnyHostnameVerifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of utils Show documentation
Show all versions of utils Show documentation
some utility class for java develop
The newest version!
package com.star.net.http.ssl;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSession;
/**
* https域名校验
*
* @author starhq
*
*/
public class TrustAnyHostnameVerifier implements HostnameVerifier {
/**
* 验证
*/
@Override
public boolean verify(final String arg0, final SSLSession arg1) {
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy