public class HttpsVerification extends DefaultURLConnectionHandler
Reporter.SetLocationReport.LocationregistryMATCH| Constructor and Description |
|---|
HttpsVerification() |
HttpsVerification(java.lang.String certificates,
boolean hostnameVerify,
Reporter reporter) |
HttpsVerification(java.security.cert.X509Certificate[] certificateChain,
boolean b,
Reporter hc) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(java.net.URLConnection connection)
Ensure Https verification is disabled or matches given certificates
|
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> map)
Set the properties
|
java.lang.String |
toString() |
error, exception, getErrors, getLocation, getWarnings, isOk, isPedantic, matches, matches, progress, setRegistry, setReporter, trace, warningpublic HttpsVerification()
public HttpsVerification(java.lang.String certificates,
boolean hostnameVerify,
Reporter reporter)
public HttpsVerification(java.security.cert.X509Certificate[] certificateChain,
boolean b,
Reporter hc)
public void handle(java.net.URLConnection connection)
throws java.lang.Exception
handle in interface URLConnectionHandlerhandle in class DefaultURLConnectionHandlerconnection - The connection to modifyjava.lang.Exceptionpublic void setProperties(java.util.Map<java.lang.String,java.lang.String> map)
throws java.lang.Exception
setProperties in interface PluginsetProperties in class DefaultURLConnectionHandlermap - attributes and directives for this plugin's clausejava.lang.Exceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright (c) aQute SARL (2000, 2017) and others. All Rights Reserved.