public class RestTransportationAnalystProviderSetting extends java.lang.Object implements RestProviderSetting, java.io.Serializable
Rest traffic network 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.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
httpReferer
Returns the HTTPReferer required to access the Rest service.
|
java.lang.String |
password
The password information.
|
RestProviderCacheConfig |
restProviderCacheConfig
Cache configuration.
|
java.lang.String |
restServiceRootURL
TrafficTransferAnalyst service address, pointing to the root resource path of the TrafficTransferAnalyst service.
|
java.lang.String |
token
The required Token to access iServer REST.
|
boolean |
useCache
Whether to use caching.
|
java.lang.String |
userName
The user name information.
|
Constructor and Description |
---|
RestTransportationAnalystProviderSetting() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether two objects are equal.
|
RestProviderCacheConfig |
getCacheConfig()
Returns the cache configuration item.
|
java.lang.String |
getHTTPReferer()
Returns the HTTPReferer required to access the Rest service.
|
java.lang.String |
getRestServiceRootURL()
Returns the Rest service address.
|
java.lang.String |
getToken()
Returns the Token required to access the Rest service.
|
boolean |
getUseCache()
Returns whether to use caching.
|
int |
hashCode()
Gets the hash value of the object instance
|
public java.lang.String restServiceRootURL
TrafficTransferAnalyst service address, pointing to the root resource path of the TrafficTransferAnalyst service.
public java.lang.String httpReferer
public java.lang.String userName
The user name information.
public java.lang.String password
The password information.
public java.lang.String token
public boolean useCache
public RestProviderCacheConfig restProviderCacheConfig
public RestTransportationAnalystProviderSetting()
public java.lang.String getHTTPReferer()
RestProviderSetting
getHTTPReferer
in interface RestProviderSetting
public boolean equals(java.lang.Object obj)
Determines whether two objects are equal.
equals
in class java.lang.Object
obj
- The object to be compared.public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getToken()
RestProviderSetting
getToken
in interface RestProviderSetting
public java.lang.String getRestServiceRootURL()
RestProviderSetting
getRestServiceRootURL
in interface RestProviderSetting
public boolean getUseCache()
RestProviderSetting
getUseCache
in interface RestProviderSetting
public RestProviderCacheConfig getCacheConfig()
RestProviderSetting
getCacheConfig
in interface RestProviderSetting