From 3bbf356f19b23f0f001e822d38c3008503c04de0 Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Thu, 12 Apr 2012 11:59:14 +0200 Subject: [PATCH] Missing commit related to changes on WSF_ROUTER --- library/server/wsf/router/uri/wsf_uri_router_i.e | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/library/server/wsf/router/uri/wsf_uri_router_i.e b/library/server/wsf/router/uri/wsf_uri_router_i.e index aa38ed97..f9290bc6 100644 --- a/library/server/wsf/router/uri/wsf_uri_router_i.e +++ b/library/server/wsf/router/uri/wsf_uri_router_i.e @@ -12,7 +12,7 @@ note map_with_request_methods ("/groups/", write_groups_handler, <<"POST", "PUT", "DELETE">>) map_agent_with_request_methods ("/order/", agent do_get_order, <<"GET">>) map_agent_with_request_methods ("/order/", agent do_post_order, <<"POST">>) - + ]" date: "$Date$" @@ -102,9 +102,9 @@ feature {NONE} -- Implementation end end -feature {NONE} -- Access: Implementation +feature {WSF_ROUTED_SERVICE_I} -- Handler - handler (req: WSF_REQUEST): detachable WSF_ROUTE [H, C] + matching_route (req: WSF_REQUEST): detachable WSF_ROUTE [H, C] local h: detachable H ctx: detachable C @@ -128,6 +128,8 @@ feature {NONE} -- Access: Implementation end end +feature {NONE} -- Access: Implementation + smart_handler (req: WSF_REQUEST): detachable TUPLE [path: READABLE_STRING_8; handler: H] require req_valid: req /= Void and then source_uri (req) /= Void