It was not used in existing code, and potentially dangerous, if coder reuses router by accident.
38 lines
820 B
Plaintext
38 lines
820 B
Plaintext
note
|
|
description: "Routing handler with context support"
|
|
author: "$Author$"
|
|
revision: "$Revision$"
|
|
|
|
class
|
|
WSF_ROUTING_CONTEXT_HANDLER [C -> WSF_HANDLER_CONTEXT create make end]
|
|
|
|
inherit
|
|
WSF_ROUTING_HANDLER
|
|
|
|
WSF_CONTEXT_HANDLER [C]
|
|
rename
|
|
execute as execute_with_context
|
|
end
|
|
|
|
create
|
|
make
|
|
|
|
feature -- Execution
|
|
|
|
execute_with_context (ctx: C; req: WSF_REQUEST; res: WSF_RESPONSE)
|
|
do
|
|
execute (req, res)
|
|
end
|
|
|
|
note
|
|
copyright: "2011-2013, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others"
|
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
|
source: "[
|
|
Eiffel Software
|
|
5949 Hollister Ave., Goleta, CA 93117 USA
|
|
Telephone 805-685-1006, Fax 805-685-6869
|
|
Website http://www.eiffel.com
|
|
Customer support http://support.eiffel.com
|
|
]"
|
|
end
|