added debug_output to WSF_ROUTER_MAPPING
This commit is contained in:
@@ -12,8 +12,6 @@ inherit
|
|||||||
|
|
||||||
WSF_SELF_DOCUMENTED_ROUTER_MAPPING
|
WSF_SELF_DOCUMENTED_ROUTER_MAPPING
|
||||||
|
|
||||||
DEBUG_OUTPUT
|
|
||||||
|
|
||||||
create
|
create
|
||||||
make,
|
make,
|
||||||
make_from_template
|
make_from_template
|
||||||
@@ -47,14 +45,6 @@ feature -- Documentation
|
|||||||
|
|
||||||
description: STRING_32 = "Match-URI-Template"
|
description: STRING_32 = "Match-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
|
feature -- Element change
|
||||||
|
|
||||||
set_handler (h: like handler)
|
set_handler (h: like handler)
|
||||||
|
|||||||
@@ -12,8 +12,6 @@ inherit
|
|||||||
|
|
||||||
WSF_SELF_DOCUMENTED_ROUTER_MAPPING
|
WSF_SELF_DOCUMENTED_ROUTER_MAPPING
|
||||||
|
|
||||||
DEBUG_OUTPUT
|
|
||||||
|
|
||||||
create
|
create
|
||||||
make,
|
make,
|
||||||
make_from_template
|
make_from_template
|
||||||
@@ -45,15 +43,7 @@ feature -- Access
|
|||||||
|
|
||||||
feature -- Documentation
|
feature -- Documentation
|
||||||
|
|
||||||
description: STRING_32 = "Is-URI"
|
description: STRING_32 = "Match-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
|
feature -- Element change
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,9 @@ note
|
|||||||
deferred class
|
deferred class
|
||||||
WSF_ROUTER_MAPPING
|
WSF_ROUTER_MAPPING
|
||||||
|
|
||||||
|
inherit
|
||||||
|
DEBUG_OUTPUT
|
||||||
|
|
||||||
feature {NONE} -- Initialization
|
feature {NONE} -- Initialization
|
||||||
|
|
||||||
make (a_resource: READABLE_STRING_8; h: like handler)
|
make (a_resource: READABLE_STRING_8; h: like handler)
|
||||||
@@ -33,6 +36,14 @@ feature -- Documentation
|
|||||||
deferred
|
deferred
|
||||||
end
|
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
|
feature -- Status
|
||||||
|
|
||||||
routed_handler (req: WSF_REQUEST; res: WSF_RESPONSE; a_router: WSF_ROUTER): detachable WSF_HANDLER
|
routed_handler (req: WSF_REQUEST; res: WSF_RESPONSE; a_router: WSF_ROUTER): detachable WSF_HANDLER
|
||||||
|
|||||||
Reference in New Issue
Block a user