Simplified interface of "router" library classes

This commit is contained in:
Jocelyn Fiat
2011-09-14 16:48:27 +02:00
parent 8b6e9273fa
commit 22fd7490fe
11 changed files with 219 additions and 198 deletions

View File

@@ -29,11 +29,17 @@ feature -- Status report
feature -- Execution
execute (a_hdl_context: C; req: WGI_REQUEST; res: WGI_RESPONSE_BUFFER)
execute (ctx: C; req: WGI_REQUEST; res: WGI_RESPONSE_BUFFER)
do
Precursor {REST_REQUEST_HANDLER} (a_hdl_context, req, res)
Precursor {REST_REQUEST_HANDLER} (ctx, req, res)
end
execute_application (ctx: C; req: WGI_REQUEST; res: WGI_RESPONSE_BUFFER)
do
check should_not_occur: False end
end
feature {NONE} -- Routing
router: REST_REQUEST_URI_ROUTER_I [H, C]