public final class ProxyConfiguration extends Object
ProxyFloatingService
.Modifier and Type | Class and Description |
---|---|
static class |
ProxyConfiguration.ProxyConfigurationBuilder
Builder for ProxyConfiguration.
|
Modifier and Type | Method and Description |
---|---|
static ProxyConfiguration.ProxyConfigurationBuilder |
builder()
Use this builder to construct the ProxyConfiguration.
|
boolean |
equals(Object o) |
String |
getApiUrl()
Retrieves the URL of the proxy server.
|
List<okhttp3.ConnectionSpec> |
getConnectionSpecs()
Specifies configuration for the socket connection that HTTP traffic travels through.
|
String |
getHost()
Required parameter.
|
HostnameVerifier |
getHostnameVerifier()
Verifier used to confirm that response certificates apply to requested hostnames for HTTPS
connections.
|
com.licensespring.IdentityProvider |
getIdentityProvider()
Set a custom IdentityProvider which generates unique keys for a particular device Default
implementation is based on ONCE_PER_PROCESS id.
|
int |
getLicenseSpringAPIVersion()
LicenseSpring API version.
|
Integer |
getPort()
Required parameter.
|
String |
getProduct()
Required parameter, every license is attached to a particular product.
|
String |
getProxyCertPath()
Optional parameter, used to configure client to trust proxy certificate.
|
String |
getProxyHost()
Optional parameter, used to configure all API calls to use a proxy service.
|
String |
getProxyPass()
Optional parameter, used to configure Basic authentication for a proxy service.
|
Integer |
getProxyPort()
Optional parameter, used to configure all API calls to use a proxy service.
|
ProxyRegisterSubscriber |
getProxyRegisterSubscriber()
ProxyRegisterSubscriber is an interface that provides two methods (onSuccess and onError), it
is used to monitor the response from the periodic registers.
|
String |
getProxyUser()
Optional parameter, used to configure Basic authentication for a proxy service.
|
feign.Logger.Level |
getRequestLogging()
HTTP Request/Response logging for debugging purposes.
|
Long |
getRequestTimeout()
Optional parameter for setting the timeout when making api requests (in seconds) default is 10
seconds
|
int |
hashCode() |
boolean |
isAddShutdownHook()
If true, this property adds a shutdown hook that will release currently active licenses before
shutting down the runtime process.
|
boolean |
isCacheHardwareID()
Set true to allow caching of hardware IDs, otherwise the SDK directly invokes the
IdentityProvider.getKey() every time the SDK needs the hardware id. |
boolean |
isEnablePeriodicRegister()
If true, this property enables periodic calls to register method to prolong the valid
registration period.
|
boolean |
isEnableRetrying()
Boolean value that allows or disables retrying on failed API call.
|
String |
toString()
Autogenerated toString containing all the fields.
|
public static ProxyConfiguration.ProxyConfigurationBuilder builder()
public String getApiUrl()
public String toString()
public String getHost()
public Integer getPort()
public String getProduct()
public int getLicenseSpringAPIVersion()
public boolean isAddShutdownHook()
public boolean isEnablePeriodicRegister()
public ProxyRegisterSubscriber getProxyRegisterSubscriber()
public feign.Logger.Level getRequestLogging()
public boolean isEnableRetrying()
ConnectionException
will be thrown.public com.licensespring.IdentityProvider getIdentityProvider()
public boolean isCacheHardwareID()
IdentityProvider.getKey()
every time the SDK needs the hardware id.public String getProxyHost()
public Integer getProxyPort()
public String getProxyUser()
public String getProxyPass()
public String getProxyCertPath()
public HostnameVerifier getHostnameVerifier()
public Long getRequestTimeout()
public List<okhttp3.ConnectionSpec> getConnectionSpecs()
Copyright © 2024 Cense Data Inc.. All rights reserved.