public class HttpsRequestDispatcherWithoutSSLVerification extends HttpsRequestDispatcher
DEFAULT_CONNECTION_TIMEOUT, DEFAULT_READ_TIMEOUT| Constructor and Description |
|---|
HttpsRequestDispatcherWithoutSSLVerification(URL endpoint)
Create a dispatcher using no authentication.
|
HttpsRequestDispatcherWithoutSSLVerification(URL endpoint,
String username,
String password)
Create a dispatcher using HTTP basic authentication using the supplied username and password.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
prepareConnection(HttpsURLConnection connection)
Constructs a HTTPS POST connection, with no SSL hostname verification or certificate lookup.
|
decodeResponse, dispatchRequest, getEndpoint, getPort, getVersion, setConnectionTimeout, setReadTimeout, setTimeoutToDefaultpublic HttpsRequestDispatcherWithoutSSLVerification(URL endpoint)
public HttpsRequestDispatcherWithoutSSLVerification(URL endpoint,
String username,
String password)
endpoint - the hostname or IP address of the connectionusername - username credentialpassword - password credentialprotected void prepareConnection(HttpsURLConnection connection)
prepareConnection in class HttpsRequestDispatcherconnection - the https connection to a Element OS clusterCopyright © 2014-2016 NetApp, Inc. All Rights Reserved.