Added WSF_ROUTER_ITEM to replace a structure represented with named TUPLE

Added debug_output to ease debugging
This commit is contained in:
Jocelyn Fiat
2012-11-20 13:49:40 +01:00
parent 6621da202d
commit 59316c9c65
3 changed files with 83 additions and 4 deletions

View File

@@ -10,6 +10,8 @@ class
inherit
WSF_ROUTER_CONTEXT_MAPPING [C]
DEBUG_OUTPUT
create
make,
make_from_template
@@ -33,6 +35,14 @@ feature -- Access
template: URI_TEMPLATE
feature -- Status report
debug_output: STRING
-- String that should be displayed in debugger to represent `Current'.
do
Result := "URI-template: " + template.template
end
feature -- Element change
set_handler (h: like handler)