public class HttpsVerification extends DefaultURLConnectionHandler
Reporter.SetLocationReport.LocationregistryMATCH| Constructor and Description |
|---|
HttpsVerification() |
HttpsVerification(String certificates,
boolean hostnameVerify,
Reporter reporter) |
HttpsVerification(X509Certificate[] certificateChain,
boolean b,
Reporter hc) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(URLConnection connection)
Ensure Https verification is disabled or matches given certificates
|
void |
setProperties(Map<String,String> map)
Set the properties
|
String |
toString() |
error, exception, getErrors, getLocation, getWarnings, isOk, isPedantic, matches, matches, progress, setRegistry, setReporter, trace, warningpublic HttpsVerification()
public HttpsVerification(String certificates, boolean hostnameVerify, Reporter reporter)
public HttpsVerification(X509Certificate[] certificateChain, boolean b, Reporter hc)
public void handle(URLConnection connection) throws Exception
handle in interface URLConnectionHandlerhandle in class DefaultURLConnectionHandlerconnection - The connection to modifyExceptionpublic void setProperties(Map<String,String> map) throws Exception
setProperties in interface PluginsetProperties in class DefaultURLConnectionHandlermap - attributes and directives for this plugin's clauseExceptionCopyright © 2019 aQute SARL. All rights reserved.