Package glide.managers
Interface GlideExceptionCheckedFunction<R,T>
-
- Type Parameters:
R- type to evaluateT- payload type
- All Known Implementing Classes:
BaseResponseResolver
- 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 interface GlideExceptionCheckedFunction<R,T>Functional Interface to convert values and throw GlideException when encountering an error state.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tapply(R value)Functional response handler that takes a value of type R and returns a payload of type T.
-
-
-
Method Detail
-
apply
T apply(R value) throws GlideException
Functional response handler that takes a value of type R and returns a payload of type T. Throws GlideException when encountering an invalid or error state.- Parameters:
value- - received value type- Returns:
- T - returning payload type
- Throws:
GlideException
-
-