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>
ManagedFunction
for not handling routing.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NotHandledFunction.NotHandledDependencies
Dependency 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
.void
execute(ManagedFunctionContext<NotHandledFunction.NotHandledDependencies,None> context)
Executes the function.
-
-
-
Method Detail
-
createManagedFunction
public ManagedFunction<NotHandledFunction.NotHandledDependencies,None> createManagedFunction()
Description copied from interface:ManagedFunctionFactory
Creates theManagedFunction
.- Specified by:
createManagedFunction
in interfaceManagedFunctionFactory<NotHandledFunction.NotHandledDependencies,None>
- Returns:
ManagedFunction
.
-
execute
public void execute(ManagedFunctionContext<NotHandledFunction.NotHandledDependencies,None> context) throws NotFoundHttpException
Description copied from interface:ManagedFunction
Executes the function.- Specified by:
execute
in interfaceManagedFunction<NotHandledFunction.NotHandledDependencies,None>
- Parameters:
context
-ManagedFunctionContext
for theManagedFunction
.- Throws:
NotFoundHttpException
-
-