added debug_output to WSF_ROUTER_MAPPING

This commit is contained in:
Jocelyn Fiat
2012-11-26 22:37:44 +01:00
parent 8b5353df0a
commit bdee22f647
3 changed files with 12 additions and 21 deletions

View File

@@ -7,6 +7,9 @@ note
deferred class
WSF_ROUTER_MAPPING
inherit
DEBUG_OUTPUT
feature {NONE} -- Initialization
make (a_resource: READABLE_STRING_8; h: like handler)
@@ -33,6 +36,14 @@ feature -- Documentation
deferred
end
feature -- Status report
debug_output: STRING
-- String that should be displayed in debugger to represent `Current'.
do
Result := description.as_string_8 + " : " + associated_resource
end
feature -- Status
routed_handler (req: WSF_REQUEST; res: WSF_RESPONSE; a_router: WSF_ROUTER): detachable WSF_HANDLER