Class SpringWebFluxProcedure
- java.lang.Object
 - 
- net.officefloor.frame.api.function.StaticManagedFunction<SpringWebFluxProcedure.DependencyKeys,None>
 - 
- net.officefloor.spring.webflux.procedure.SpringWebFluxProcedure
 
 
 
- 
- All Implemented Interfaces:
 ManagedFunction<SpringWebFluxProcedure.DependencyKeys,None>,ManagedFunctionFactory<SpringWebFluxProcedure.DependencyKeys,None>
public class SpringWebFluxProcedure extends StaticManagedFunction<SpringWebFluxProcedure.DependencyKeys,None>
Spring Web FluxControllerProcedure.- Author:
 - Daniel Sagenschneider
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpringWebFluxProcedure.DependencyKeysDependency keys. 
- 
Field Summary
Fields Modifier and Type Field Description protected java.lang.Class<?>controllerClassControllerClass.protected java.lang.StringcontrollerMethodNameName ofControllerMethod.protected org.springframework.http.server.reactive.HttpHandlerhttpHandlerHttpHandlerloaded via theSpringWebFluxProcedureRegistry. 
- 
Constructor Summary
Constructors Constructor Description SpringWebFluxProcedure(java.lang.Class<?> controllerClass, java.lang.String controllerMethodName)Instantiate. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(ManagedFunctionContext<SpringWebFluxProcedure.DependencyKeys,None> context)Executes the function.- 
Methods inherited from class net.officefloor.frame.api.function.StaticManagedFunction
createManagedFunction 
 - 
 
 - 
 
- 
- 
Field Detail
- 
controllerClass
protected final java.lang.Class<?> controllerClass
ControllerClass. 
- 
controllerMethodName
protected final java.lang.String controllerMethodName
Name ofControllerMethod. 
- 
httpHandler
protected org.springframework.http.server.reactive.HttpHandler httpHandler
HttpHandlerloaded via theSpringWebFluxProcedureRegistry. 
 - 
 
- 
Method Detail
- 
execute
public void execute(ManagedFunctionContext<SpringWebFluxProcedure.DependencyKeys,None> context) throws java.lang.Throwable
Description copied from interface:ManagedFunctionExecutes the function.- Parameters:
 context-ManagedFunctionContextfor theManagedFunction.- Throws:
 java.lang.Throwable- Indicating failure of theManagedFunction.
 
 - 
 
 -