static <E extends Exception> ObjectInputFilter |
ObjectInputFilterWithException.ignored(ObjectInputFilterWithException<E> function) |
Converts a ObjectInputFilterWithException to a lifted
ObjectInputFilter returning Status.UNDECIDED
in case of exception.
|
static <E extends Exception> ObjectInputFilter |
ObjectInputFilterWithException.ignored(ObjectInputFilterWithException<E> function,
ObjectInputFilter.Status defaultValue) |
Converts a ObjectInputFilterWithException to a lifted
ObjectInputFilter returning a default value in case of exception.
|
static <E extends Exception> Function<ObjectInputFilter.FilterInfo,Optional<ObjectInputFilter.Status>> |
ObjectInputFilterWithException.lifted(ObjectInputFilterWithException<E> function) |
Converts a ObjectInputFilterWithException to a lifted
ObjectInputFilter using Optional as return value.
|
static <E extends Exception> Function<ObjectInputFilter.FilterInfo,CompletionStage<ObjectInputFilter.Status>> |
ObjectInputFilterWithException.staged(ObjectInputFilterWithException<E> function) |
Convert this ObjectInputFilterWithException to a lifted
Function return CompletionStage as return value.
|
static <E extends Exception> ObjectInputFilter |
ObjectInputFilterWithException.unchecked(ObjectInputFilterWithException<E> function) |
Converts a ObjectInputFilterWithException to a
ObjectInputFilter that convert exception to RuntimeException .
|
static <E extends Exception> ObjectInputFilter |
ObjectInputFilterWithException.unchecked(ObjectInputFilterWithException<E> function,
Function<Exception,RuntimeException> exceptionMapper) |
Converts a ObjectInputFilterWithException to a
ObjectInputFilter that wraps exception to RuntimeException by
using the provided mapping function.
|