Package net.officefloor.web
Class WebRouteHandlerImpl
java.lang.Object
net.officefloor.web.WebRouteHandlerImpl
- All Implemented Interfaces:
WebRouteHandler
WebRouteHandler implementation.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(HttpArgument pathArguments, ServerHttpConnection connection, ManagedFunctionContext<?, Indexed> context) Handles the web route.
-
Constructor Details
-
WebRouteHandlerImpl
public WebRouteHandlerImpl(boolean isRequireSecure, int flowIndex) Instantiate.- Parameters:
isRequireSecure- Indicates if a secure connection is required.flowIndex-Flowindex for handling.
-
-
Method Details
-
handle
public void handle(HttpArgument pathArguments, ServerHttpConnection connection, ManagedFunctionContext<?, Indexed> context) Description copied from interface:WebRouteHandlerHandles the web route.- Specified by:
handlein interfaceWebRouteHandler- Parameters:
pathArguments- HeadHttpArgumentof the linked list ofHttpArgumentfrom the path.connection-ServerHttpConnection.context-ManagedFunctionContext.
-