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
- BEGIN_TERM - Static variable in class io.dropwizard.validation.InterpolationHelper
C
- call(ViolationCollector) - Method in class io.dropwizard.validation.selfvalidating.ValidationCaller
- ConstraintViolations - Class in io.dropwizard.validation
- copyOf(Set<ConstraintViolation<T>>) - Static method in class io.dropwizard.validation.ConstraintViolations
D
- 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
- END_TERM - Static variable in class io.dropwizard.validation.InterpolationHelper
- ESCAPE_CHARACTER - Static variable in class io.dropwizard.validation.InterpolationHelper
- escapeExpressions() - Method in annotation type io.dropwizard.validation.selfvalidating.SelfValidating
-
Escape EL expressions to avoid template injection attacks.
- escapeMessageParameter(String) - Static method in class io.dropwizard.validation.InterpolationHelper
F
- format(Set<ConstraintViolation<T>>) - Static method in class io.dropwizard.validation.ConstraintViolations
- format(ConstraintViolation<T>) - Static method in class io.dropwizard.validation.ConstraintViolations
- formatUntyped(Set<ConstraintViolation<?>>) - Static method in class io.dropwizard.validation.ConstraintViolations
G
- getContext() - Method in class io.dropwizard.validation.selfvalidating.ViolationCollector
-
This method returns the wrapped context for raw access to the validation framework.
- getValidatedValueType(Type) - Method in class io.dropwizard.validation.valuehandling.GuavaOptionalValidatedValueUnwrapper
- getValidatedValueType(Type) - Method in class io.dropwizard.validation.valuehandling.OptionalDoubleValidatedValueUnwrapper
- getValidatedValueType(Type) - Method in class io.dropwizard.validation.valuehandling.OptionalIntValidatedValueUnwrapper
- getValidatedValueType(Type) - Method in class io.dropwizard.validation.valuehandling.OptionalLongValidatedValueUnwrapper
- getValidationObject() - Method in class io.dropwizard.validation.selfvalidating.ValidationCaller
- groups() - Method in annotation type io.dropwizard.validation.DurationRange
- groups() - Method in annotation type io.dropwizard.validation.MaxDuration
- groups() - Method in annotation type io.dropwizard.validation.MaxSize
- groups() - Method in annotation type io.dropwizard.validation.MinDuration
- groups() - Method in annotation type io.dropwizard.validation.MinSize
- groups() - Method in annotation type io.dropwizard.validation.OneOf
- groups() - Method in annotation type io.dropwizard.validation.PortRange
- groups() - Method in annotation type io.dropwizard.validation.selfvalidating.SelfValidating
- groups() - Method in annotation type io.dropwizard.validation.SizeRange
- groups() - Method in annotation type io.dropwizard.validation.ValidationMethod
- GuavaOptionalValidatedValueUnwrapper - Class in io.dropwizard.validation.valuehandling
-
A
ValidatedValueUnwrapper
for Guava'sOptional
. - GuavaOptionalValidatedValueUnwrapper() - Constructor for class io.dropwizard.validation.valuehandling.GuavaOptionalValidatedValueUnwrapper
H
- handleValidatedValue(Optional<?>) - Method in class io.dropwizard.validation.valuehandling.GuavaOptionalValidatedValueUnwrapper
- handleValidatedValue(OptionalDouble) - Method in class io.dropwizard.validation.valuehandling.OptionalDoubleValidatedValueUnwrapper
- handleValidatedValue(OptionalInt) - Method in class io.dropwizard.validation.valuehandling.OptionalIntValidatedValueUnwrapper
- handleValidatedValue(OptionalLong) - Method in class io.dropwizard.validation.valuehandling.OptionalLongValidatedValueUnwrapper
- hasViolationOccurred() - Method in class io.dropwizard.validation.selfvalidating.ViolationCollector
I
- ignoreCase() - Method in annotation type io.dropwizard.validation.OneOf
-
Whether or not to ignore case.
- ignoreWhitespace() - Method in annotation type io.dropwizard.validation.OneOf
-
Whether or not to ignore leading and trailing whitespace.
- inclusive() - Method in annotation type io.dropwizard.validation.MaxDuration
- inclusive() - Method in annotation type io.dropwizard.validation.MinDuration
- initialize(MaxDuration) - Method in class io.dropwizard.validation.MaxDurationValidator
- initialize(MaxSize) - Method in class io.dropwizard.validation.MaxSizeValidator
- initialize(MinDuration) - Method in class io.dropwizard.validation.MinDurationValidator
- initialize(MinSize) - Method in class io.dropwizard.validation.MinSizeValidator
- initialize(OneOf) - Method in class io.dropwizard.validation.OneOfValidator
- initialize(PortRange) - Method in class io.dropwizard.validation.PortRangeValidator
- initialize(SelfValidating) - Method in class io.dropwizard.validation.selfvalidating.SelfValidatingValidator
- initialize(ValidationMethod) - Method in class io.dropwizard.validation.MethodValidator
- 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(Duration, ConstraintValidatorContext) - Method in class io.dropwizard.validation.MaxDurationValidator
- isValid(Duration, ConstraintValidatorContext) - Method in class io.dropwizard.validation.MinDurationValidator
- isValid(Size, ConstraintValidatorContext) - Method in class io.dropwizard.validation.MaxSizeValidator
- isValid(Size, ConstraintValidatorContext) - Method in class io.dropwizard.validation.MinSizeValidator
- 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.DurationRange
- max() - Method in annotation type io.dropwizard.validation.PortRange
- max() - Method in annotation type io.dropwizard.validation.SizeRange
- 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
- MaxSize - Annotation Type in io.dropwizard.validation
-
The annotated element must be a
Size
whose value must be less than or equal to the specified maximum. - MaxSizeValidator - Class in io.dropwizard.validation
-
Check that a
Size
being validated is less than or equal to the minimum value specified. - MaxSizeValidator() - Constructor for class io.dropwizard.validation.MaxSizeValidator
- message() - Method in annotation type io.dropwizard.validation.DurationRange
- message() - Method in annotation type io.dropwizard.validation.MaxDuration
- message() - Method in annotation type io.dropwizard.validation.MaxSize
- message() - Method in annotation type io.dropwizard.validation.MinDuration
- message() - Method in annotation type io.dropwizard.validation.MinSize
- message() - Method in annotation type io.dropwizard.validation.OneOf
- message() - Method in annotation type io.dropwizard.validation.PortRange
- message() - Method in annotation type io.dropwizard.validation.selfvalidating.SelfValidating
- message() - Method in annotation type io.dropwizard.validation.SizeRange
- message() - Method in annotation type io.dropwizard.validation.ValidationMethod
- 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.DurationRange
- min() - Method in annotation type io.dropwizard.validation.PortRange
- min() - Method in annotation type io.dropwizard.validation.SizeRange
- 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
- MinSize - Annotation Type in io.dropwizard.validation
-
The annotated element must be a
Size
whose value must be higher or equal to the specified minimum. - MinSizeValidator - Class in io.dropwizard.validation
-
Check that a
Size
being validated is greater than or equal to the minimum value specified. - MinSizeValidator() - Constructor for class io.dropwizard.validation.MinSizeValidator
N
- newConfiguration() - Static method in class io.dropwizard.validation.BaseValidator
-
Creates a new
HibernateValidatorConfiguration
with the base customValidatedValueUnwrapper
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
- OneOfValidator() - Constructor for class io.dropwizard.validation.OneOfValidator
- OptionalDoubleValidatedValueUnwrapper - Class in io.dropwizard.validation.valuehandling
-
A
ValidatedValueUnwrapper
forOptionalDouble
. - OptionalDoubleValidatedValueUnwrapper() - Constructor for class io.dropwizard.validation.valuehandling.OptionalDoubleValidatedValueUnwrapper
- OptionalIntValidatedValueUnwrapper - Class in io.dropwizard.validation.valuehandling
-
A
ValidatedValueUnwrapper
forOptionalInt
. - OptionalIntValidatedValueUnwrapper() - Constructor for class io.dropwizard.validation.valuehandling.OptionalIntValidatedValueUnwrapper
- OptionalLongValidatedValueUnwrapper - Class in io.dropwizard.validation.valuehandling
-
A
ValidatedValueUnwrapper
forOptionalLong
. - OptionalLongValidatedValueUnwrapper() - Constructor for class io.dropwizard.validation.valuehandling.OptionalLongValidatedValueUnwrapper
P
- payload() - Method in annotation type io.dropwizard.validation.DurationRange
- payload() - Method in annotation type io.dropwizard.validation.MaxDuration
- payload() - Method in annotation type io.dropwizard.validation.MaxSize
- payload() - Method in annotation type io.dropwizard.validation.MinDuration
- payload() - Method in annotation type io.dropwizard.validation.MinSize
- payload() - Method in annotation type io.dropwizard.validation.OneOf
- payload() - Method in annotation type io.dropwizard.validation.PortRange
- payload() - Method in annotation type io.dropwizard.validation.selfvalidating.SelfValidating
- payload() - Method in annotation type io.dropwizard.validation.SizeRange
- payload() - Method in annotation type io.dropwizard.validation.ValidationMethod
- 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
- 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
- setViolationOccurred(boolean) - Method in class io.dropwizard.validation.selfvalidating.ViolationCollector
-
Manually sets if a violation occurred.
- SizeRange - Annotation Type in io.dropwizard.validation
-
The annotated element has to be in the appropriate range.
- SizeRange.List - Annotation Type in io.dropwizard.validation
-
Defines several
@SizeRange
annotations on the same element.
U
- unit() - Method in annotation type io.dropwizard.validation.DurationRange
- unit() - Method in annotation type io.dropwizard.validation.MaxDuration
- unit() - Method in annotation type io.dropwizard.validation.MaxSize
- unit() - Method in annotation type io.dropwizard.validation.MinDuration
- unit() - Method in annotation type io.dropwizard.validation.MinSize
- unit() - Method in annotation type io.dropwizard.validation.SizeRange
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
- value() - Method in annotation type io.dropwizard.validation.DurationRange.List
- value() - Method in annotation type io.dropwizard.validation.MaxDuration
- value() - Method in annotation type io.dropwizard.validation.MaxSize
- value() - Method in annotation type io.dropwizard.validation.MinDuration
- value() - Method in annotation type io.dropwizard.validation.MinSize
- value() - Method in annotation type io.dropwizard.validation.OneOf
-
The set of valid values.
- value() - Method in annotation type io.dropwizard.validation.SizeRange.List
- 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
- ViolationCollector(ConstraintValidatorContext, boolean) - Constructor for class io.dropwizard.validation.selfvalidating.ViolationCollector
All Classes All Packages