Uses of Interface
edu.iu.UnsafeConsumer
Packages that use UnsafeConsumer
Package
Description
Includes basic Java utilities classes and interfaces.
Functional programming adapters for the
Jakarta JSON
Processing and Java
HTTP Client modules.
Type Introspection Implementation Module.
-
Uses of UnsafeConsumer in edu.iu
Classes in edu.iu that implement UnsafeConsumerMethods in edu.iu with parameters of type UnsafeConsumerModifier and TypeMethodDescriptionIuParallelWorkloadController.apply
(UnsafeConsumer<IuTaskController> task) Submits an asynchronous task for processing.IuException.checked
(Class<T1> expectedExceptionClass1, Class<T2> expectedExceptionClass2, Class<T3> expectedExceptionClass3, T argument, UnsafeConsumer<T> consumer) Gracefully supplies a value to anUnsafeConsumer
.IuException.checked
(Class<T1> expectedExceptionClass1, Class<T2> expectedExceptionClass2, T argument, UnsafeConsumer<T> consumer) Gracefully supplies a value to anUnsafeConsumer
.static <T,
T1 extends Exception>
voidIuException.checked
(Class<T1> expectedExceptionClass, T argument, UnsafeConsumer<T> consumer) Gracefully supplies a value to anUnsafeConsumer
.static <T> void
IuException.checked
(T argument, UnsafeConsumer<T> consumer) Gracefully supplies a value to anUnsafeConsumer
.static <T> void
IuException.unchecked
(T argument, UnsafeConsumer<T> consumer) Gracefully supplies a value to anUnsafeConsumer
. -
Uses of UnsafeConsumer in edu.iu.client
Subinterfaces of UnsafeConsumer in edu.iu.clientModifier and TypeInterfaceDescriptioninterface
Validates HTTP response status code and headers.Methods in edu.iu.client with parameters of type UnsafeConsumerModifier and TypeMethodDescriptionstatic <E extends Exception>
HttpResponse<InputStream> IuHttp.send
(Class<E> exceptionClass, URI uri, UnsafeConsumer<HttpRequest.Builder> requestConsumer) Sends a synchronous HTTP request.static <T,
E extends Exception>
TIuHttp.send
(Class<E> exceptionClass, URI uri, UnsafeConsumer<HttpRequest.Builder> requestConsumer, HttpResponseHandler<T> responseHandler) Sends a synchronous HTTP request expecting 200 OK and accepting all response headers.static HttpResponse
<InputStream> IuHttp.send
(URI uri, UnsafeConsumer<HttpRequest.Builder> requestConsumer) Sends a synchronous HTTP request.static <T> T
IuHttp.send
(URI uri, UnsafeConsumer<HttpRequest.Builder> requestConsumer, HttpResponseHandler<T> responseHandler) Sends a synchronous HTTP request expecting 200 OK and accepting all response headers. -
Uses of UnsafeConsumer in iu.type
Methods in iu.type with parameters of type UnsafeConsumerModifier and TypeMethodDescription(package private) void
ComponentEntry.read
(UnsafeConsumer<InputStream> with) Reads raw data from the archive with externally provided logic.