public class HttpsRequestDispatcherWithoutSSLVerification extends HttpsRequestDispatcher
DEFAULT_CONNECTION_TIMEOUT, DEFAULT_READ_TIMEOUT
Constructor and Description |
---|
HttpsRequestDispatcherWithoutSSLVerification(java.net.URL endpoint)
Create a dispatcher using no authentication.
|
HttpsRequestDispatcherWithoutSSLVerification(java.net.URL endpoint,
java.lang.String username,
java.lang.String password)
Create a dispatcher using HTTP basic authentication using the supplied username and password.
|
Modifier and Type | Method and Description |
---|---|
protected void |
prepareConnection(javax.net.ssl.HttpsURLConnection connection)
Constructs a HTTPS POST connection, with no SSL hostname verification or certificate lookup.
|
decodeResponse, dispatchRequest, getEndpoint, getPort, getVersion, setConnectionTimeout, setReadTimeout, setTimeoutToDefault
public HttpsRequestDispatcherWithoutSSLVerification(java.net.URL endpoint)
public HttpsRequestDispatcherWithoutSSLVerification(java.net.URL endpoint, java.lang.String username, java.lang.String password)
endpoint
- the hostname or IP address of the connectionusername
- username credentialpassword
- password credentialprotected void prepareConnection(javax.net.ssl.HttpsURLConnection connection)
prepareConnection
in class HttpsRequestDispatcher
connection
- the https connection to a Element OS cluster