diff --git a/library/server/wsf/router/support/uri_template/wsf_uri_template_mapping.e b/library/server/wsf/router/support/uri_template/wsf_uri_template_mapping.e index 94dc3683..eb090784 100644 --- a/library/server/wsf/router/support/uri_template/wsf_uri_template_mapping.e +++ b/library/server/wsf/router/support/uri_template/wsf_uri_template_mapping.e @@ -12,8 +12,6 @@ inherit WSF_SELF_DOCUMENTED_ROUTER_MAPPING - DEBUG_OUTPUT - create make, make_from_template @@ -47,14 +45,6 @@ feature -- Documentation 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 set_handler (h: like handler) diff --git a/library/server/wsf/router/support/uri_template_with_context/wsf_uri_template_context_mapping.e b/library/server/wsf/router/support/uri_template_with_context/wsf_uri_template_context_mapping.e index 4f9d00ab..fe2b56ca 100644 --- a/library/server/wsf/router/support/uri_template_with_context/wsf_uri_template_context_mapping.e +++ b/library/server/wsf/router/support/uri_template_with_context/wsf_uri_template_context_mapping.e @@ -12,8 +12,6 @@ inherit WSF_SELF_DOCUMENTED_ROUTER_MAPPING - DEBUG_OUTPUT - create make, make_from_template @@ -45,15 +43,7 @@ feature -- Access feature -- Documentation - description: STRING_32 = "Is-URI" - -feature -- Status report - - debug_output: STRING - -- String that should be displayed in debugger to represent `Current'. - do - Result := "URI-template: " + template.template - end + description: STRING_32 = "Match-URI-Template" feature -- Element change diff --git a/library/server/wsf/router/wsf_router_mapping.e b/library/server/wsf/router/wsf_router_mapping.e index fcae82a0..5cc0efff 100644 --- a/library/server/wsf/router/wsf_router_mapping.e +++ b/library/server/wsf/router/wsf_router_mapping.e @@ -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