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 FluxController
Procedure
.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SpringWebFluxProcedure.DependencyKeys
Dependency keys.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Class<?>
controllerClass
Controller
Class
.protected java.lang.String
controllerMethodName
Name ofController
Method
.protected org.springframework.http.server.reactive.HttpHandler
httpHandler
HttpHandler
loaded 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 void
execute(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
Controller
Class
.
-
controllerMethodName
protected final java.lang.String controllerMethodName
Name ofController
Method
.
-
httpHandler
protected org.springframework.http.server.reactive.HttpHandler httpHandler
HttpHandler
loaded via theSpringWebFluxProcedureRegistry
.
-
-
Method Detail
-
execute
public void execute(ManagedFunctionContext<SpringWebFluxProcedure.DependencyKeys,None> context) throws java.lang.Throwable
Description copied from interface:ManagedFunction
Executes the function.- Parameters:
context
-ManagedFunctionContext
for theManagedFunction
.- Throws:
java.lang.Throwable
- Indicating failure of theManagedFunction
.
-
-