Package net.officefloor.web.route
Class LeafWebRouteHandling
- java.lang.Object
-
- net.officefloor.web.route.LeafWebRouteHandling
-
public class LeafWebRouteHandling extends java.lang.Object
Handling details for theLeafWebRouteNode
.- Author:
- Daniel Sagenschneider
-
-
Field Summary
Fields Modifier and Type Field Description java.util.function.Function<HttpMethod,WebRouteHandler>
handlerFactory
Factory to create theWebRouteHandler
.java.util.function.Function<HttpMethod,java.lang.String[]>
parameterNamesFactory
Factory for the parameter names.
-
Constructor Summary
Constructors Constructor Description LeafWebRouteHandling(java.util.function.Function<HttpMethod,java.lang.String[]> parameterNamesFactory, java.util.function.Function<HttpMethod,WebRouteHandler> handlerFactory)
Instantiate.
-
-
-
Field Detail
-
parameterNamesFactory
public final java.util.function.Function<HttpMethod,java.lang.String[]> parameterNamesFactory
Factory for the parameter names.
-
handlerFactory
public final java.util.function.Function<HttpMethod,WebRouteHandler> handlerFactory
Factory to create theWebRouteHandler
.
-
-
Constructor Detail
-
LeafWebRouteHandling
public LeafWebRouteHandling(java.util.function.Function<HttpMethod,java.lang.String[]> parameterNamesFactory, java.util.function.Function<HttpMethod,WebRouteHandler> handlerFactory)
Instantiate.- Parameters:
parameterNamesFactory
- Factory for the parameter names.handlerFactory
- Factory to create theWebRouteHandler
.
-
-