Package br.ufsc.labsec.web
Interface ReqItem.ApiFunction<T,R>
- Type Parameters:
T- tipo do parĂ¢metroR- tipo do retorno
- 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 ReqItem.ApiFunction<T,R>
Interface q representa uma
Function que lança uma ApiMisusageException-
Method Summary
Modifier and Type Method Description default <V> ReqItem.ApiFunction<T,V>andThen(ReqItem.ApiFunction<? super R,? extends V> after)Rapply(T t)default RapplyNoException(T t)static <T, R> ReqItem.ApiFunction<T,R>wrap(Function<T,R> function, int httpStatus)
-
Method Details
-
apply
- Throws:
ApiMisusageException
-
andThen
-
applyNoException
-
wrap
-