export handler from REQUEST_ROUTER

This commit is contained in:
Jocelyn Fiat
2012-01-17 07:51:26 -08:00
parent 60574ee85f
commit 4486df14cc
2 changed files with 4 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ feature -- Traversing
deferred deferred
end end
feature {NONE} -- Access: Implementation feature {ROUTED_SERVICE_I} -- Handler
source_uri (req: WSF_REQUEST): READABLE_STRING_32 source_uri (req: WSF_REQUEST): READABLE_STRING_32
-- URI to use to find handler. -- URI to use to find handler.
@@ -124,6 +124,8 @@ feature {NONE} -- Access: Implementation
source_uri_unchanged: source_uri (req).same_string (old source_uri (req)) source_uri_unchanged: source_uri (req).same_string (old source_uri (req))
end end
feature {NONE} -- Access: Implementation
is_matching_request_methods (a_request_method: READABLE_STRING_GENERAL; rqst_methods: like formatted_request_methods): BOOLEAN is_matching_request_methods (a_request_method: READABLE_STRING_GENERAL; rqst_methods: like formatted_request_methods): BOOLEAN
-- `a_request_method' is matching `rqst_methods' contents -- `a_request_method' is matching `rqst_methods' contents
local local

View File

@@ -52,7 +52,7 @@ feature -- Registration
map_with_uri_template_and_request_methods (create {URI_TEMPLATE}.make (tpl), h, rqst_methods) map_with_uri_template_and_request_methods (create {URI_TEMPLATE}.make (tpl), h, rqst_methods)
end end
feature {NONE} -- Access: Implementation feature {ROUTED_SERVICE_I} -- Hanlder
handler (req: WSF_REQUEST): detachable TUPLE [handler: attached like default_handler; context: like default_handler_context] handler (req: WSF_REQUEST): detachable TUPLE [handler: attached like default_handler; context: like default_handler_context]
local local