public static class HttpsTestTarget.Companion
| Modifier and Type | Method and Description |
|---|---|
HttpsTestTarget |
fromUrl(java.net.URL url,
boolean insecure)
Creates a HttpsTestTarget from a URL. If the URL does not contain a port, 443 will be used.
|
HttpsTestTarget |
fromUrl(java.net.URL url)
Creates a HttpsTestTarget from a URL. If the URL does not contain a port, 443 will be used.
|
public HttpsTestTarget fromUrl(java.net.URL url, boolean insecure)
Creates a HttpsTestTarget from a URL. If the URL does not contain a port, 443 will be used.
insecure - Supports using certs that will not be verified. You need this enabled if you are using self-signed
or untrusted certificates. Defaults to false.public HttpsTestTarget fromUrl(java.net.URL url)
Creates a HttpsTestTarget from a URL. If the URL does not contain a port, 443 will be used.