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:
JspException
IOException
Ex
-
compose
default <V> JspFunctionE<V,R, composeEx> (JspFunctionE<? super V, ? extends T, throws JspException, IOException, Ex? extends Ex> before) - Throws:
JspException
IOException
Ex
-
andThen
default <V> JspFunctionE<T,V, andThenEx> (JspFunctionE<? super R, ? extends V, throws JspException, IOException, Ex? extends Ex> after) - Throws:
JspException
IOException
Ex
-
identity
-