public interface ServerConfigurationAgent
Modifier and Type | Field and Description |
---|---|
static SpecialistType<ServerConfigurationAgent> |
TYPE
Agent providing access to the server configuration.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAllowedRedirectHosts()
In order to prevent redirections to potentially malicious hosts, a whitelist of
allowed host names can be configured for the FirstSpirit server.
|
ServerConfiguration |
getServerConfiguration()
Returns an instance of the current server configuration, including access to the
Web Start Configuration and Quickstart s. |
<PROPERTY_TYPE> |
getServerProperty(ServerProperty<PROPERTY_TYPE> property)
Returns the current value of a server property.
|
<PROPERTY_TYPE> |
setServerProperty(ServerProperty<PROPERTY_TYPE> property,
PROPERTY_TYPE value)
Modifies the current value of a server property.
|
static final SpecialistType<ServerConfigurationAgent> TYPE
SpecialistsBroker
.<PROPERTY_TYPE> Optional<PROPERTY_TYPE> getServerProperty(@NotNull ServerProperty<PROPERTY_TYPE> property)
PROPERTY_TYPE
- the generic type of the property which is returned when the value is being read.property
- the property to return the value for, must not be null
.Optional
if unknown.<PROPERTY_TYPE> void setServerProperty(@NotNull ServerProperty<PROPERTY_TYPE> property, @NotNull PROPERTY_TYPE value)
PROPERTY_TYPE
- the generic type of the property which is set when the value is being written.property
- the property to modify, must not be null
.value
- the new value, must not be null
.@NotNull Set<String> getAllowedRedirectHosts()
null
.@NotNull ServerConfiguration getServerConfiguration()
Web Start Configuration
and Quickstart
s.
For accessing single properties, users are encouraged to use getServerProperty(ServerProperty)
for a more type safe usage.
null
.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210