Package com.okta.commons.http.config
Class Proxy
java.lang.Object
com.okta.commons.http.config.Proxy
HTTP proxy server communication settings, used if the Okta SDK Client must communicate through an HTTP Proxy.
- Since:
- 0.5.0
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a instance reflecting an HTTP proxy server that does not require authentication.Creates an instance reflecting an HTTP proxy server that requires username/password authentication. -
Method Summary
-
Constructor Details
-
Proxy
Creates a instance reflecting an HTTP proxy server that does not require authentication.- Parameters:
host- the proxy server host.port- the proxy server host port.
-
Proxy
Creates an instance reflecting an HTTP proxy server that requires username/password authentication.- Parameters:
host- the proxy server host.port- the proxy server host port.username- the username to use when authenticating with the proxy server.password- the password to use when authenticating with the proxy server.
-
-
Method Details