ComparableParameter<T> |
ComparableParameter.atLeast(T minValue) |
Validates that the parameter value is not too small.
|
ComparableParameter<T> |
ComparableParameter.atMost(T maxValue) |
Validates that the parameter value is not too large.
|
ComparableParameter<T> |
ComparableParameter.between(T minValue,
T maxValue) |
Validates that the parameter value is not too small or large.
|
ComparableParameter<T> |
ComparableParameter.greaterThan(T minValue) |
Validates that the parameter value is not too small.
|
static <T extends Comparable<? super T>> ComparableParameter<T> |
ComparableParameter.of(FilterConfig config,
String name,
Function<String,? extends T> converter) |
Returns a comparable init parameter for a filter.
|
static <T extends Comparable<? super T>> ComparableParameter<T> |
ComparableParameter.of(ServletConfig config,
String name,
Function<String,? extends T> converter) |
Returns a comparable init parameter for a servlet.
|
static <T extends Comparable<? super T>> ComparableParameter<T> |
ComparableParameter.of(ServletContext context,
String name,
Function<String,? extends T> converter) |
Returns a comparable init parameter for a servlet context.
|
static <T extends Comparable<? super T>> ComparableParameter<T> |
ComparableParameter.of(ServletRequest request,
String name,
Function<String,? extends T> converter) |
Returns a comparable parameter for a servlet request.
|
ComparableParameter<T> |
ComparableParameter.smallerThan(T maxValue) |
Validates that the parameter value is not too large.
|