public static class DistributedCommandBusProperties.SpringCloudProperties extends Object
Constructor and Description |
---|
SpringCloudProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getFallbackUrl()
Returns the URL relative to the host's root to retrieve Instance Meta Data from.
|
boolean |
isFallbackToHttpGet()
Indicates whether to fall back to HTTP GET when retrieving Instance Meta Data from the Discovery Server
fails.
|
void |
setFallbackToHttpGet(boolean fallbackToHttpGet)
Whether to fall back to HTTP GET when retrieving Instance Meta Data from the Discovery Server fails.
|
void |
setFallbackUrl(String fallbackUrl)
Sets the URL relative to the host's root to retrieve Instance Meta Data from.
|
public boolean isFallbackToHttpGet()
public void setFallbackToHttpGet(boolean fallbackToHttpGet)
fallbackToHttpGet
- whether to fall back to HTTP GET when retrieving Instance Meta Data from the
Discovery Server fails.public String getFallbackUrl()
public void setFallbackUrl(String fallbackUrl)
fallbackUrl
- the URL relative to the host's root to retrieve Instance Meta Data from.Copyright © 2010–2024. All rights reserved.