Class RestTrafficTransferAnalystProviderSetting
- java.lang.Object
-
- com.supermap.services.providers.RestTrafficTransferAnalystProviderSetting
-
- All Implemented Interfaces:
- RestProviderSetting, java.io.Serializable
public class RestTrafficTransferAnalystProviderSetting extends java.lang.Object implements RestProviderSetting, java.io.Serializable
Rest traffic transfer analysis service provider parameter object.
This object is used to describe the relevant parameter information required by the Rest service provider , including: Rest data service address; user name; password. And the user name and password information is determined based on whether the corresponding Rest service requires user authentication.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description java.lang.StringhttpRefererReturns the HTTPReferer required to access the Rest service.java.lang.StringpasswordThe password information, when the rest service needs to be authenticated, it is necessary to fill in the information.RestProviderCacheConfigrestProviderCacheConfigThe REST service provider requests the cache configurationjava.lang.StringrestServiceRootURLTrafficTransferAnalyst service address, pointing to the root resource path of the TrafficTransferAnalyst service.java.lang.StringtokenThe required Token to access iServer REST.booleanuseCacheWhether to use cachingjava.lang.StringuserNameThe username information, when the rest service needs to be authenticated, it is necessary to fill in the information.
-
Constructor Summary
Constructors Constructor and Description RestTrafficTransferAnalystProviderSetting()
-
Method Summary
Methods Modifier and Type Method and Description booleanequals(java.lang.Object obj)Determines whether two objects are equal.RestProviderCacheConfiggetCacheConfig()Returns the cache configuration item.java.lang.StringgetHTTPReferer()Returns the HTTPReferer required to access the Rest service.java.lang.StringgetRestServiceRootURL()Returns the Rest service address.java.lang.StringgetToken()Returns the Token required to access the Rest service.booleangetUseCache()Returns whether to use caching.inthashCode()Gets the hash value of the object instance
-
-
-
Field Detail
-
restServiceRootURL
public java.lang.String restServiceRootURL
TrafficTransferAnalyst service address, pointing to the root resource path of the TrafficTransferAnalyst service.
-
httpReferer
public java.lang.String httpReferer
Returns the HTTPReferer required to access the Rest service.
-
userName
public java.lang.String userName
The username information, when the rest service needs to be authenticated, it is necessary to fill in the information.
-
password
public java.lang.String password
The password information, when the rest service needs to be authenticated, it is necessary to fill in the information. Used with user name information.
-
token
public java.lang.String token
The required Token to access iServer REST.
-
useCache
public boolean useCache
Whether to use caching
-
restProviderCacheConfig
public RestProviderCacheConfig restProviderCacheConfig
The REST service provider requests the cache configuration
-
-
Constructor Detail
-
RestTrafficTransferAnalystProviderSetting
public RestTrafficTransferAnalystProviderSetting()
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
Determines whether two objects are equal.
- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- The object to be compared.- Returns:
- a value indicating whether the two objects are equal, true that the two objects are equal.
-
hashCode
public int hashCode()
Gets the hash value of the object instance- Overrides:
hashCodein classjava.lang.Object- Returns:
- hash value
-
getToken
public java.lang.String getToken()
Description copied from interface:RestProviderSettingReturns the Token required to access the Rest service.- Specified by:
getTokenin interfaceRestProviderSetting- Returns:
-
getHTTPReferer
public java.lang.String getHTTPReferer()
Description copied from interface:RestProviderSettingReturns the HTTPReferer required to access the Rest service.- Specified by:
getHTTPRefererin interfaceRestProviderSetting- Returns:
-
getRestServiceRootURL
public java.lang.String getRestServiceRootURL()
Description copied from interface:RestProviderSettingReturns the Rest service address.- Specified by:
getRestServiceRootURLin interfaceRestProviderSetting- Returns:
-
getUseCache
public boolean getUseCache()
Description copied from interface:RestProviderSettingReturns whether to use caching.- Specified by:
getUseCachein interfaceRestProviderSetting- Returns:
-
getCacheConfig
public RestProviderCacheConfig getCacheConfig()
Description copied from interface:RestProviderSettingReturns the cache configuration item.- Specified by:
getCacheConfigin interfaceRestProviderSetting- Returns:
-
-