Package net.officefloor.web.route
Class LeafWebRouteHandling
java.lang.Object
net.officefloor.web.route.LeafWebRouteHandling
Handling details for the
LeafWebRouteNode.- Author:
- Daniel Sagenschneider
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Function<HttpMethod,WebRouteHandler> Factory to create theWebRouteHandler.final Function<HttpMethod,String[]> Factory for the parameter names. -
Constructor Summary
ConstructorsConstructorDescriptionLeafWebRouteHandling(Function<HttpMethod, String[]> parameterNamesFactory, Function<HttpMethod, WebRouteHandler> handlerFactory) Instantiate. -
Method Summary
-
Field Details
-
parameterNamesFactory
Factory for the parameter names. -
handlerFactory
Factory to create theWebRouteHandler.
-
-
Constructor Details
-
LeafWebRouteHandling
public LeafWebRouteHandling(Function<HttpMethod, String[]> parameterNamesFactory, Function<HttpMethod, WebRouteHandler> handlerFactory) Instantiate.- Parameters:
parameterNamesFactory- Factory for the parameter names.handlerFactory- Factory to create theWebRouteHandler.
-