Interface VariantSelector.DimensionChecker<T,U>
- Enclosing class:
- VariantSelector
private static interface VariantSelector.DimensionChecker<T,U>
Interface to get a dimension value from a variant and check if an
acceptable dimension value is compatible with a dimension value.
-
Method Summary
Modifier and TypeMethodDescriptionGet the dimension value from the variant.int
Get the quality source of the dimension.Get the value of the Vary header.boolean
isCompatible
(T t, U u) Ascertain if the acceptable dimension value is compatible with the dimension value.
-
Method Details
-
getDimension
Get the dimension value from the variant.- Parameters:
v
- the variant.- Returns:
- the dimension value.
-
getQualitySource
Get the quality source of the dimension.- Returns:
- quality source.
-
isCompatible
Ascertain if the acceptable dimension value is compatible with the dimension value.- Parameters:
t
- the acceptable dimension value.u
- the dimension value.- Returns:
true
if the acceptable dimension value is compatible with the dimension value.
-
getVaryHeaderValue
String getVaryHeaderValue()Get the value of the Vary header.- Returns:
- the value of the Vary header.
-