Package net.officefloor.web.route
Interface WebRouteNode
- All Known Implementing Classes:
LeafWebRouteNode,ParameterWebRouteNode,StaticWebRouteNode
public interface WebRouteNode
Node in the
WebRouter route tree.- Author:
- Daniel Sagenschneider
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionhandle(HttpMethod method, String path, int index, HttpArgument headPathArgument, ServerHttpConnection connection, ManagedFunctionContext<?, Indexed> context) Attempts to handle the path.
-
Method Details
-
handle
WebServicer handle(HttpMethod method, String path, int index, HttpArgument headPathArgument, ServerHttpConnection connection, ManagedFunctionContext<?, Indexed> context) Attempts to handle the path.- Parameters:
method-HttpMethod.path- Path.index- Index into the path.headPathArgument- HeadHttpArgumentfrom the path.connection-ServerHttpConnection.context-ManagedFunctionContext.- Returns:
WebServicer.
-