Class ProxyProperties
java.lang.Object
me.ahoo.cosid.spring.boot.starter.ProxyProperties
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHost()Gets the proxy server host URL.Sets the proxy server host URL.
-
Constructor Details
-
ProxyProperties
public ProxyProperties()
-
-
Method Details
-
getHost
Gets the proxy server host URL.- Returns:
- the proxy server URL
-
setHost
Sets the proxy server host URL.- Parameters:
host- the proxy server URL to connect to- Returns:
- this properties instance for method chaining
-