@ConfigurationProperties(value="endpoints.all") public class EndpointDefaultConfiguration extends Object
Endpoint configuration.| Modifier and Type | Field and Description | 
|---|---|
| static String | DEFAULT_ENDPOINT_BASE_PATHThe default base path. | 
| static String | PATHThe path for endpoints settings. | 
| static String | PORTThe path for endpoints settings. | 
| static String | PREFIXThe prefix for endpoints settings. | 
| Constructor and Description | 
|---|
| EndpointDefaultConfiguration() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getPath() | 
| Optional<Integer> | getPort() | 
| Optional<Boolean> | isEnabled() | 
| Optional<Boolean> | isSensitive() | 
| void | setEnabled(Boolean enabled)Sets whether the endpoint is enabled. | 
| void | setPath(String path)The endpoints base path. | 
| void | setPort(Integer port)Sets the port to expose endpoints via. | 
| void | setSensitive(Boolean sensitive)Sets whether the endpoint is sensitive. | 
public static final String PREFIX
public static final String PATH
public static final String PORT
public static final String DEFAULT_ENDPOINT_BASE_PATH
public Optional<Boolean> isSensitive()
public void setEnabled(Boolean enabled)
enabled - True it is enabled, null for the default behaviourpublic void setSensitive(Boolean sensitive)
sensitive - True it is sensitive, null for the default behaviourpublic void setPath(String path)
path - The path