Module com.aoapps.servlet.util
Package com.aoapps.servlet.function
Interface ServletPredicateE<T,Ex extends Throwable>
- Type Parameters:
Ex
- An arbitrary exception type that may be thrown
- All Known Subinterfaces:
ServletPredicate<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A predicate that is allowed to throw
ServletException
, IOException
, and a checked exception.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault ServletPredicateE
<T, Ex> and
(ServletPredicateE<? super T, ? extends Ex> other) static <T,
Ex extends Throwable>
ServletPredicateE<T, Ex> default ServletPredicateE
<T, Ex> negate()
static <T,
Ex extends Throwable>
ServletPredicateE<T, Ex> not
(ServletPredicateE<? super T, ? extends Ex> target) default ServletPredicateE
<T, Ex> or
(ServletPredicateE<? super T, ? extends Ex> other) boolean
-
Method Details
-
test
- Throws:
ServletException
IOException
Ex
-
and
default ServletPredicateE<T,Ex> and(ServletPredicateE<? super T, ? extends Ex> other) throws ServletException, IOException, Ex- Throws:
ServletException
IOException
Ex
-
negate
- Throws:
ServletException
IOException
Ex
-
or
default ServletPredicateE<T,Ex> or(ServletPredicateE<? super T, ? extends Ex> other) throws ServletException, IOException, Ex- Throws:
ServletException
IOException
Ex
-
isEqual
- Type Parameters:
Ex
- An arbitrary exception type that may be thrown
-
not
static <T,Ex extends Throwable> ServletPredicateE<T,Ex> not(ServletPredicateE<? super T, ? extends Ex> target) throws ServletException, IOException, Ex- Type Parameters:
Ex
- An arbitrary exception type that may be thrown- Throws:
ServletException
IOException
Ex
-