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 Flux
Controller Procedure.- Author:
- Daniel Sagenschneider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDependency keys. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Class<?>ControllerClass.protected final StringName ofControllerMethod.protected org.springframework.http.server.reactive.HttpHandlerHttpHandlerloaded via theSpringWebFluxProcedureRegistry. -
Constructor Summary
ConstructorsConstructorDescriptionSpringWebFluxProcedure(Class<?> controllerClass, String controllerMethodName) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionvoidExecutes the function.Methods inherited from class net.officefloor.frame.api.function.StaticManagedFunction
createManagedFunction
-
Field Details
-
controllerClass
ControllerClass. -
controllerMethodName
Name ofControllerMethod. -
httpHandler
protected org.springframework.http.server.reactive.HttpHandler httpHandlerHttpHandlerloaded via theSpringWebFluxProcedureRegistry.
-
-
Constructor Details
-
Method Details
-
execute
public void execute(ManagedFunctionContext<SpringWebFluxProcedure.DependencyKeys, None> context) throws ThrowableDescription copied from interface:ManagedFunctionExecutes the function.- Parameters:
context-ManagedFunctionContextfor theManagedFunction.- Throws:
Throwable- Indicating failure of theManagedFunction.
-