com.supermap.services.providers

Class RestRealspaceProviderSetting

  • java.lang.Object
    • com.supermap.services.providers.RestRealspaceProviderSetting
  • All Implemented Interfaces:
    RestProviderSetting, java.io.Serializable


    public class RestRealspaceProviderSetting
    extends java.lang.Object
    implements RestProviderSetting, java.io.Serializable
    

    Rest realspace 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.String httpReferer
      Returns the HTTPReferer required to access the Rest service.
      java.lang.String password
      The password information, when the rest service needs to be authenticated, it is necessary to fill in the information.
      RestProviderCacheConfig restProviderCacheConfig
      The REST service provider requests the cache configuration
      java.lang.String restServiceRootURL
      rest service address, points to the root resource path of rest services.
      java.lang.String token
      The required Token to access iServer REST.
      boolean useCache
      Whether to use caching
      java.lang.String userName
      The username information, when the rest service needs to be authenticated, it is necessary to fill in the information.
    • Method Summary

      Methods 
      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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • restServiceRootURL

        public java.lang.String restServiceRootURL
        

        rest service address, points to the root resource path of rest services.

      • httpReferer

        public java.lang.String httpReferer
        
        Returns the HTTPReferer required to access the Rest service.
      • token

        public java.lang.String token
        
        The required Token to access iServer REST.
      • 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.

      • restProviderCacheConfig

        public RestProviderCacheConfig restProviderCacheConfig
        
        The REST service provider requests the cache configuration
      • useCache

        public boolean useCache
        
        Whether to use caching
    • Constructor Detail

      • RestRealspaceProviderSetting

        public RestRealspaceProviderSetting()
        
    • Method Detail

      • hashCode

        public int hashCode()
        
        Gets the hash value of the object instance
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        hash value
      • equals

        public boolean equals(java.lang.Object obj)
        

        Determines whether two objects are equal.

        Overrides:
        equals in class java.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.