Package com.helger.web.scope.impl
Interface RequestWebScope.IParamValueCleanser
-
- Enclosing class:
- RequestWebScope
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface RequestWebScope.IParamValueCleanser
The param value cleanser interface to be used globally.- Since:
- 9.0.6
- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCleanedValue(String sParamName, int nParamIndex, String sParamValue)Get the cleaned value of a parameter value.
-
-
-
Method Detail
-
getCleanedValue
@Nullable String getCleanedValue(@Nonnull String sParamName, @Nonnegative int nParamIndex, @Nullable String sParamValue)
Get the cleaned value of a parameter value.- Parameters:
sParamName- The current parameter name. May not benull.nParamIndex- The index of the value. If the parameter has multiple values this is respective index. If there is only one value, this is always 0 (zero).sParamValue- The value to be cleaned. May benull.- Returns:
- The cleaned value. May also be
null.
-
-