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.intGet the quality source of the dimension.Get the value of the Vary header.booleanisCompatible(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
-
getVaryHeaderValue
String getVaryHeaderValue()Get the value of the Vary header.- Returns:
- the value of the Vary header.
-