Class ProxyProperties

java.lang.Object
me.ahoo.cosid.spring.boot.starter.ProxyProperties

public class ProxyProperties extends Object
Configuration properties for CosId proxy server connection.

This class defines properties for connecting to a remote CosId proxy server that can provide centralized ID generation services. The proxy allows for distributed ID generation across multiple applications or services.

Example configuration:


 cosid:
   proxy:
     host: "http://cosid-proxy.example.com:8688"
 
  • Constructor Details

    • ProxyProperties

      public ProxyProperties()
  • Method Details

    • getHost

      public String getHost()
      Gets the proxy server host URL.
      Returns:
      the proxy server URL
    • setHost

      public ProxyProperties setHost(String host)
      Sets the proxy server host URL.
      Parameters:
      host - the proxy server URL to connect to
      Returns:
      this properties instance for method chaining