Package net.officefloor.spring.reactive
Class ReactiveWoof
java.lang.Object
net.officefloor.spring.reactive.ReactiveWoof
Utility methods for
WoOF working with Spring Reactive.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionflowError(AsynchronousFlow flow) Provides handling for on error.Provides handling of an error and propagatesstatic <T> Consumer<? super T>send(AsynchronousFlow flow, ObjectResponse<T> response) Sends the response.
-
Constructor Details
-
ReactiveWoof
public ReactiveWoof()
-
-
Method Details
-
flowError
Provides handling for on error.- Parameters:
flow-AsynchronousFlow.- Returns:
Consumerfor error handling.
-
propagateHttpError
Provides handling of an error and propagates- Parameters:
flow-AsynchronousFlow.- Returns:
Consumerfor error handling.
-
send
Sends the response.- Type Parameters:
T- Response type.- Parameters:
flow-AsynchronousFlow.response-ObjectResponse.- Returns:
Consumerfor sending the response.
-