A B C D E F G H I M N O P S U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addViolation(String) - Method in class io.dropwizard.validation.selfvalidating.ViolationCollector
-
Adds a new violation to this collector.
- addViolation(String, Integer, String) - Method in class io.dropwizard.validation.selfvalidating.ViolationCollector
-
Adds a new violation to this collector.
- addViolation(String, Integer, String, Map<String, Object>) - Method in class io.dropwizard.validation.selfvalidating.ViolationCollector
-
Adds a new violation to this collector.
- addViolation(String, String) - Method in class io.dropwizard.validation.selfvalidating.ViolationCollector
-
Adds a new violation to this collector.
- addViolation(String, String, String) - Method in class io.dropwizard.validation.selfvalidating.ViolationCollector
-
Adds a new violation to this collector.
- addViolation(String, String, String, Map<String, Object>) - Method in class io.dropwizard.validation.selfvalidating.ViolationCollector
-
Adds a new violation to this collector.
- addViolation(String, String, Map<String, Object>) - Method in class io.dropwizard.validation.selfvalidating.ViolationCollector
-
Adds a new violation to this collector.
- addViolation(String, Map<String, Object>) - Method in class io.dropwizard.validation.selfvalidating.ViolationCollector
-
Adds a new violation to this collector.
B
- BaseValidator - Class in io.dropwizard.validation
-
This class provides static methods to obtain configured
Validator
instances. - BEGIN_TERM - Static variable in class io.dropwizard.validation.InterpolationHelper
-
A constant representing the '{' character.
C
- call(ViolationCollector) - Method in class io.dropwizard.validation.selfvalidating.ValidationCaller
-
This method is intended to call a validation methods on the validation object.
- ConstraintViolations - Class in io.dropwizard.validation
-
This class provides static methods to work with constraint violations.
- copyOf(Set<ConstraintViolation<T>>) - Static method in class io.dropwizard.validation.ConstraintViolations
-
Copies a set of
ConstraintViolations
.
D
- DataSizeRange - Annotation Type in io.dropwizard.validation
-
The annotated element has to be in the appropriate range.
- DataSizeRange.List - Annotation Type in io.dropwizard.validation
-
Defines several
@DataSizeRange
annotations on the same element. - DESCRIPTOR - Static variable in class io.dropwizard.validation.valuehandling.GuavaOptionalValueExtractor
-
A singleton
ValueExtractorDescriptor
for theGuavaOptionalValueExtractor
. - DurationRange - Annotation Type in io.dropwizard.validation
-
The annotated element has to be in the appropriate range.
- DurationRange.List - Annotation Type in io.dropwizard.validation
-
Defines several
@DurationRange
annotations on the same element.
E
- EL_DESIGNATOR - Static variable in class io.dropwizard.validation.InterpolationHelper
-
A constant representing the '$' character.
- END_TERM - Static variable in class io.dropwizard.validation.InterpolationHelper
-
A constant representing the '}' character.
- ESCAPE_CHARACTER - Static variable in class io.dropwizard.validation.InterpolationHelper
-
A constant representing the '\' character.
- escapeMessageParameter(String) - Static method in class io.dropwizard.validation.InterpolationHelper
-
Escapes a string with the
InterpolationHelper.ESCAPE_MESSAGE_PARAMETER_PATTERN
. - extractValues(Optional<?>, ValueExtractor.ValueReceiver) - Method in class io.dropwizard.validation.valuehandling.GuavaOptionalValueExtractor
F
- format(Set<ConstraintViolation<T>>) - Static method in class io.dropwizard.validation.ConstraintViolations
-
Computes a set of formatted messages from the given typed set of
ConstraintViolations
. - format(ConstraintViolation<T>) - Static method in class io.dropwizard.validation.ConstraintViolations
-
Computes a string representation from a
ConstraintViolation
. - formatUntyped(Set<ConstraintViolation<?>>) - Static method in class io.dropwizard.validation.ConstraintViolations
-
Computes a set of formatted messages from the given untyped set of
ConstraintViolations
.
G
- getContext() - Method in class io.dropwizard.validation.selfvalidating.ViolationCollector
-
This method returns the wrapped context for raw access to the validation framework.
- getValidationObject() - Method in class io.dropwizard.validation.selfvalidating.ValidationCaller
-
Gets the validation object.
- groups() - Method in annotation type io.dropwizard.validation.DataSizeRange
-
The groups the constraint belongs to.
- groups() - Method in annotation type io.dropwizard.validation.DurationRange
-
The groups the constraint belongs to.
- groups() - Method in annotation type io.dropwizard.validation.MaxDataSize
-
The groups the constraint belongs to.
- groups() - Method in annotation type io.dropwizard.validation.MaxDuration
-
The groups the constraint belongs to.
- groups() - Method in annotation type io.dropwizard.validation.MinDataSize
-
The groups the constraint belongs to.
- groups() - Method in annotation type io.dropwizard.validation.MinDuration
-
The groups the constraint belongs to.
- groups() - Method in annotation type io.dropwizard.validation.OneOf
-
The groups the constraint belongs to.
- groups() - Method in annotation type io.dropwizard.validation.PortRange
-
The groups the constraint belongs to.
- groups() - Method in annotation type io.dropwizard.validation.selfvalidating.SelfValidating
-
The groups the constraint belongs to.
- groups() - Method in annotation type io.dropwizard.validation.ValidationMethod
-
The groups the constraint belongs to.
- GuavaOptionalValueExtractor - Class in io.dropwizard.validation.valuehandling
-
A
ValueExtractor
for Guava'sOptional
.
H
- hasViolationOccurred() - Method in class io.dropwizard.validation.selfvalidating.ViolationCollector
-
Returns, if a violation has previously occurred.
I
- ignoreCase() - Method in annotation type io.dropwizard.validation.OneOf
-
Whether to ignore case.
- ignoreWhitespace() - Method in annotation type io.dropwizard.validation.OneOf
-
Whether to ignore leading and trailing whitespace.
- inclusive() - Method in annotation type io.dropwizard.validation.MaxDuration
-
If the boundary value is inclusive or not.
- inclusive() - Method in annotation type io.dropwizard.validation.MinDuration
-
If the boundary value is inclusive or not.
- initialize(MaxDataSize) - Method in class io.dropwizard.validation.MaxDataSizeValidator
- initialize(MaxDuration) - Method in class io.dropwizard.validation.MaxDurationValidator
- initialize(MinDataSize) - Method in class io.dropwizard.validation.MinDataSizeValidator
- initialize(MinDuration) - Method in class io.dropwizard.validation.MinDurationValidator
- initialize(OneOf) - Method in class io.dropwizard.validation.OneOfValidator
- initialize(PortRange) - Method in class io.dropwizard.validation.PortRangeValidator
- InterpolationHelper - Class in io.dropwizard.validation
-
Utilities used for message interpolation.
- io.dropwizard.validation - package io.dropwizard.validation
- io.dropwizard.validation.selfvalidating - package io.dropwizard.validation.selfvalidating
- io.dropwizard.validation.valuehandling - package io.dropwizard.validation.valuehandling
- isValid(DataSize, ConstraintValidatorContext) - Method in class io.dropwizard.validation.MaxDataSizeValidator
- isValid(DataSize, ConstraintValidatorContext) - Method in class io.dropwizard.validation.MinDataSizeValidator
- isValid(Duration, ConstraintValidatorContext) - Method in class io.dropwizard.validation.MaxDurationValidator
- isValid(Duration, ConstraintValidatorContext) - Method in class io.dropwizard.validation.MinDurationValidator
- isValid(Boolean, ConstraintValidatorContext) - Method in class io.dropwizard.validation.MethodValidator
- isValid(Integer, ConstraintValidatorContext) - Method in class io.dropwizard.validation.PortRangeValidator
- isValid(Object, ConstraintValidatorContext) - Method in class io.dropwizard.validation.OneOfValidator
- isValid(Object, ConstraintValidatorContext) - Method in class io.dropwizard.validation.selfvalidating.SelfValidatingValidator
M
- max() - Method in annotation type io.dropwizard.validation.DataSizeRange
-
The maximum value of the range the validated
DataSize
must be in. - max() - Method in annotation type io.dropwizard.validation.DurationRange
-
The maximum value of the range the validated
Duration
must be in. - max() - Method in annotation type io.dropwizard.validation.PortRange
-
The maximum value of the port range the validated
int
must be in. - MaxDataSize - Annotation Type in io.dropwizard.validation
-
The annotated element must be a
DataSize
whose value must be less than or equal to the specified maximum. - MaxDataSizeValidator - Class in io.dropwizard.validation
-
Check that a
DataSize
being validated is less than or equal to the minimum value specified. - MaxDataSizeValidator() - Constructor for class io.dropwizard.validation.MaxDataSizeValidator
- MaxDuration - Annotation Type in io.dropwizard.validation
-
The annotated element must be a
Duration
whose value must be higher or equal to the specified minimum. - MaxDurationValidator - Class in io.dropwizard.validation
-
Check that a
Duration
being validated is less than or equal to the minimum value specified. - MaxDurationValidator() - Constructor for class io.dropwizard.validation.MaxDurationValidator
- message() - Method in annotation type io.dropwizard.validation.DataSizeRange
-
The validation message for this constraint.
- message() - Method in annotation type io.dropwizard.validation.DurationRange
-
The validation message for this constraint.
- message() - Method in annotation type io.dropwizard.validation.MaxDataSize
-
The validation message for this constraint.
- message() - Method in annotation type io.dropwizard.validation.MaxDuration
-
The validation message for this constraint.
- message() - Method in annotation type io.dropwizard.validation.MinDataSize
-
The validation message for this constraint.
- message() - Method in annotation type io.dropwizard.validation.MinDuration
-
The validation message for this constraint.
- message() - Method in annotation type io.dropwizard.validation.OneOf
-
The validation message for this constraint.
- message() - Method in annotation type io.dropwizard.validation.PortRange
-
The validation message for this constraint.
- message() - Method in annotation type io.dropwizard.validation.selfvalidating.SelfValidating
-
The validation message for this constraint.
- message() - Method in annotation type io.dropwizard.validation.ValidationMethod
-
The validation message for this constraint.
- MethodValidator - Class in io.dropwizard.validation
-
A validator for
ValidationMethod
-annotated methods. - MethodValidator() - Constructor for class io.dropwizard.validation.MethodValidator
- min() - Method in annotation type io.dropwizard.validation.DataSizeRange
-
The minimum value of the range the validated
DataSize
must be in. - min() - Method in annotation type io.dropwizard.validation.DurationRange
-
The minimum value of the range the validated
Duration
must be in. - min() - Method in annotation type io.dropwizard.validation.PortRange
-
The minimum value of the port range the validated
int
must be in. - MinDataSize - Annotation Type in io.dropwizard.validation
-
The annotated element must be a
DataSize
whose value must be higher or equal to the specified minimum. - MinDataSizeValidator - Class in io.dropwizard.validation
-
Check that a
DataSize
being validated is greater than or equal to the minimum value specified. - MinDataSizeValidator() - Constructor for class io.dropwizard.validation.MinDataSizeValidator
- MinDuration - Annotation Type in io.dropwizard.validation
-
The annotated element must be a
Duration
whose value must be higher or equal to the specified minimum. - MinDurationValidator - Class in io.dropwizard.validation
-
Check that a
Duration
being validated is greater than or equal to the minimum value specified. - MinDurationValidator() - Constructor for class io.dropwizard.validation.MinDurationValidator
N
- newConfiguration() - Static method in class io.dropwizard.validation.BaseValidator
-
Creates a new
HibernateValidatorConfiguration
with the base custom unwrappers registered. - newValidator() - Static method in class io.dropwizard.validation.BaseValidator
-
Creates a new
Validator
based onBaseValidator.newConfiguration()
.
O
- OneOf - Annotation Type in io.dropwizard.validation
-
Checks to see that the value is one of a set of elements.
- OneOfValidator - Class in io.dropwizard.validation
-
Check that the string representation of an object is in a given set of valid values.
- OneOfValidator() - Constructor for class io.dropwizard.validation.OneOfValidator
P
- payload() - Method in annotation type io.dropwizard.validation.DataSizeRange
-
The payloads of this constraint.
- payload() - Method in annotation type io.dropwizard.validation.DurationRange
-
The payloads of this constraint.
- payload() - Method in annotation type io.dropwizard.validation.MaxDataSize
-
The payloads of this constraint.
- payload() - Method in annotation type io.dropwizard.validation.MaxDuration
-
The payloads of this constraint.
- payload() - Method in annotation type io.dropwizard.validation.MinDataSize
-
The payloads of this constraint.
- payload() - Method in annotation type io.dropwizard.validation.MinDuration
-
The payloads of this constraint.
- payload() - Method in annotation type io.dropwizard.validation.OneOf
-
The payloads of this constraint.
- payload() - Method in annotation type io.dropwizard.validation.PortRange
-
The payloads of this constraint.
- payload() - Method in annotation type io.dropwizard.validation.selfvalidating.SelfValidating
-
The payloads of this constraint.
- payload() - Method in annotation type io.dropwizard.validation.ValidationMethod
-
The payloads of this constraint.
- PortRange - Annotation Type in io.dropwizard.validation
-
A constraint that allows one to specify a port range, but still allow 0 as the port value to indicate dynamically allocated ports.
- PortRangeValidator - Class in io.dropwizard.validation
-
Allow 0 to indicate dynamic port range allocation.
- PortRangeValidator() - Constructor for class io.dropwizard.validation.PortRangeValidator
S
- SelfValidating - Annotation Type in io.dropwizard.validation.selfvalidating
-
The annotated element has methods annotated by
SelfValidation
. - SelfValidatingValidator - Class in io.dropwizard.validation.selfvalidating
-
This class is the base validator for the
@SelfValidating
annotation. - SelfValidatingValidator() - Constructor for class io.dropwizard.validation.selfvalidating.SelfValidatingValidator
-
Constructs a new
SelfValidatingValidator
instance with a new logger of this class. - SelfValidation - Annotation Type in io.dropwizard.validation.selfvalidating
-
This method, if used in conjunction with
SelfValidating
, will be executed to check if the object itself is valid. - setValidationObject(T) - Method in class io.dropwizard.validation.selfvalidating.ValidationCaller
-
Sets the validation object variable.
- setViolationOccurred(boolean) - Method in class io.dropwizard.validation.selfvalidating.ViolationCollector
-
Manually sets if a violation occurred.
U
- unit() - Method in annotation type io.dropwizard.validation.DataSizeRange
-
The unit of the validated range.
- unit() - Method in annotation type io.dropwizard.validation.DurationRange
-
The unit of the validated range.
- unit() - Method in annotation type io.dropwizard.validation.MaxDataSize
-
The unit of the annotation.
- unit() - Method in annotation type io.dropwizard.validation.MaxDuration
-
The unit of the annotation.
- unit() - Method in annotation type io.dropwizard.validation.MinDataSize
-
The unit of the annotation.
- unit() - Method in annotation type io.dropwizard.validation.MinDuration
-
The unit of the annotation.
V
- Validated - Annotation Type in io.dropwizard.validation
-
Due to limit of @see javax.validation.Valid Annotation for validation groups and ordered validations, this annotation is serving supplementary purposes to validation process.
- ValidationCaller<T> - Class in io.dropwizard.validation.selfvalidating
-
This class represents a wrapper for calling validation methods annotated with
@SelfValidation
. - ValidationCaller() - Constructor for class io.dropwizard.validation.selfvalidating.ValidationCaller
- ValidationMethod - Annotation Type in io.dropwizard.validation
-
Validates a bean predicate method as returning true.
- validationObject - Variable in class io.dropwizard.validation.selfvalidating.ValidationCaller
-
The object to call validation methods on.
- value() - Method in annotation type io.dropwizard.validation.DataSizeRange.List
-
The annotation's value.
- value() - Method in annotation type io.dropwizard.validation.DurationRange.List
-
The annotation's value.
- value() - Method in annotation type io.dropwizard.validation.MaxDataSize
-
The annotation's value.
- value() - Method in annotation type io.dropwizard.validation.MaxDuration
-
The annotation's value.
- value() - Method in annotation type io.dropwizard.validation.MinDataSize
-
The annotation's value.
- value() - Method in annotation type io.dropwizard.validation.MinDuration
-
The annotation's value.
- value() - Method in annotation type io.dropwizard.validation.OneOf
-
The set of valid values.
- value() - Method in annotation type io.dropwizard.validation.Validated
-
Specify one or more validation groups to apply to the validation.
- ViolationCollector - Class in io.dropwizard.validation.selfvalidating
-
This class is a simple wrapper around the ConstraintValidatorContext of hibernate validation.
- ViolationCollector(ConstraintValidatorContext) - Constructor for class io.dropwizard.validation.selfvalidating.ViolationCollector
-
Constructs a new
ViolationCollector
with the givenConstraintValidatorContext
.
All Classes All Packages