Module com.aoapps.servlet.util
Package com.aoapps.servlet.jsp.function
Interface JspFunctionE<T,R,Ex extends Throwable>
- Type Parameters:
Ex- An arbitrary exception type that may be thrown
- All Known Subinterfaces:
JspFunction<T,R>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A function that is allowed to throw
JspException, IOException, and a checked exception.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault <V> JspFunctionE<T, V, Ex> andThen(JspFunctionE<? super R, ? extends V, ? extends Ex> after) default <V> JspFunctionE<V, R, Ex> compose(JspFunctionE<? super V, ? extends T, ? extends Ex> before) static <T> JspFunctionE<T, T, RuntimeException> identity()
-
Method Details
-
apply
- Throws:
JspExceptionIOExceptionEx
-
compose
default <V> JspFunctionE<V,R, composeEx> (JspFunctionE<? super V, ? extends T, throws JspException, IOException, Ex? extends Ex> before) - Throws:
JspExceptionIOExceptionEx
-
andThen
default <V> JspFunctionE<T,V, andThenEx> (JspFunctionE<? super R, ? extends V, throws JspException, IOException, Ex? extends Ex> after) - Throws:
JspExceptionIOExceptionEx
-
identity
-
