Package net.officefloor.web
Class NotHandledFunction
- java.lang.Object
-
- net.officefloor.web.NotHandledFunction
-
- All Implemented Interfaces:
ManagedFunction<NotHandledFunction.NotHandledDependencies,None>,ManagedFunctionFactory<NotHandledFunction.NotHandledDependencies,None>
public class NotHandledFunction extends java.lang.Object implements ManagedFunctionFactory<NotHandledFunction.NotHandledDependencies,None>, ManagedFunction<NotHandledFunction.NotHandledDependencies,None>
ManagedFunctionfor not handling routing.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotHandledFunction.NotHandledDependenciesDependency keys.
-
Constructor Summary
Constructors Constructor Description NotHandledFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedFunction<NotHandledFunction.NotHandledDependencies,None>createManagedFunction()Creates theManagedFunction.voidexecute(ManagedFunctionContext<NotHandledFunction.NotHandledDependencies,None> context)Executes the function.
-
-
-
Method Detail
-
createManagedFunction
public ManagedFunction<NotHandledFunction.NotHandledDependencies,None> createManagedFunction()
Description copied from interface:ManagedFunctionFactoryCreates theManagedFunction.- Specified by:
createManagedFunctionin interfaceManagedFunctionFactory<NotHandledFunction.NotHandledDependencies,None>- Returns:
ManagedFunction.
-
execute
public void execute(ManagedFunctionContext<NotHandledFunction.NotHandledDependencies,None> context) throws NotFoundHttpException
Description copied from interface:ManagedFunctionExecutes the function.- Specified by:
executein interfaceManagedFunction<NotHandledFunction.NotHandledDependencies,None>- Parameters:
context-ManagedFunctionContextfor theManagedFunction.- Throws:
NotFoundHttpException
-
-