Package net.officefloor.web.route
Interface WebRouteNode
-
- All Known Implementing Classes:
LeafWebRouteNode
,ParameterWebRouteNode
,StaticWebRouteNode
public interface WebRouteNode
Node in theWebRouter
route tree.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
WebRouteNode.WebRouteResultEnum
Indicates possible matching ofWebRouteNode
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebServicer
handle(HttpMethod method, java.lang.String path, int index, HttpArgument headPathArgument, ServerHttpConnection connection, ManagedFunctionContext<?,Indexed> context)
Attempts to handle the path.
-
-
-
Method Detail
-
handle
WebServicer handle(HttpMethod method, java.lang.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
- HeadHttpArgument
from the path.connection
-ServerHttpConnection
.context
-ManagedFunctionContext
.- Returns:
WebServicer
.
-
-