Package net.officefloor.web
Class WebRouteHandlerImpl
- java.lang.Object
-
- net.officefloor.web.WebRouteHandlerImpl
-
- All Implemented Interfaces:
WebRouteHandler
public class WebRouteHandlerImpl extends java.lang.Object implements WebRouteHandler
WebRouteHandler
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description WebRouteHandlerImpl(boolean isRequireSecure, int flowIndex)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(HttpArgument pathArguments, ServerHttpConnection connection, ManagedFunctionContext<?,Indexed> context)
Handles the web route.
-
-
-
Constructor Detail
-
WebRouteHandlerImpl
public WebRouteHandlerImpl(boolean isRequireSecure, int flowIndex)
Instantiate.- Parameters:
isRequireSecure
- Indicates if a secure connection is required.flowIndex
-Flow
index for handling.
-
-
Method Detail
-
handle
public void handle(HttpArgument pathArguments, ServerHttpConnection connection, ManagedFunctionContext<?,Indexed> context)
Description copied from interface:WebRouteHandler
Handles the web route.- Specified by:
handle
in interfaceWebRouteHandler
- Parameters:
pathArguments
- HeadHttpArgument
of the linked list ofHttpArgument
from the path.connection
-ServerHttpConnection
.context
-ManagedFunctionContext
.
-
-