Module net.shibboleth.ext.spring
Package net.shibboleth.ext.spring.util
Class SpringExpressionFunction<T,U>
- java.lang.Object
-
- net.shibboleth.ext.spring.util.AbstractSpringExpressionEvaluator<T,U>
-
- net.shibboleth.ext.spring.util.SpringExpressionFunction<T,U>
-
- Type Parameters:
T- type of inputU- type of output
- All Implemented Interfaces:
Function<T,U>
public class SpringExpressionFunction<T,U> extends AbstractSpringExpressionEvaluator<T,U> implements Function<T,U>
Function whose output is defined by an Spring EL expression.- Since:
- 5.4.0
-
-
Constructor Summary
Constructors Constructor Description SpringExpressionFunction(String expression)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Uapply(T input)-
Methods inherited from class net.shibboleth.ext.spring.util.AbstractSpringExpressionEvaluator
evaluate, getCustomObject, getInputType, getOutputType, prepareContext, setCustomObject, setHideExceptions, setInputType, setOutputType, setReturnOnError
-
-
-
-
Constructor Detail
-
SpringExpressionFunction
public SpringExpressionFunction(@Nonnull @NotEmpty @ParameterName(name="expression") String expression)
Constructor.- Parameters:
expression- the expression to evaluate
-
-