public static class EmbeddedServletService.ConfigurationValidator extends ConfigurationValidator
ServletContext needs to be provided and the URL of
the outer servlet.| Constructor and Description |
|---|
ConfigurationValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
validate(Configuration conf)
Validates the configuration in the given
Configuration object. |
rebuke, rebukeIllegalValue, rebukeMissingValueprotected void validate(Configuration conf) throws ConfigurationException
ConfigurationValidatorConfiguration object. The
configuration was already validated against the property
descriptions of the ConfigurationDescription, i.e. if the type was
Property.Type.BOOLEAN you can expect the value to be a valid string
representation of a boolean (valid in the sense of
Property.Type.BOOLEAN).
To report errors (i.e. throw ConfigurationExceptions) the method
ConfigurationValidator.rebukeIllegalValue(Configuration, String, String) should be used.
validate in class ConfigurationValidatorconf - the configuration to be validatedConfigurationException - if the configuration contains errors