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 Object
implements ManagedFunctionFactory<NotHandledFunction.NotHandledDependencies,None>, ManagedFunction<NotHandledFunction.NotHandledDependencies,None>
ManagedFunction for not handling routing.- Author:
- Daniel Sagenschneider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDependency keys. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NotHandledFunction
public NotHandledFunction()
-
-
Method Details
-
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 NotFoundHttpExceptionDescription copied from interface:ManagedFunctionExecutes the function.- Specified by:
executein interfaceManagedFunction<NotHandledFunction.NotHandledDependencies,None> - Parameters:
context-ManagedFunctionContextfor theManagedFunction.- Throws:
NotFoundHttpException
-