mimic design of WSF_ROUTED_SERVICE for WSF_FILTERED_SERVICE

and update the filter example to make it simpler and reuse code.
This commit is contained in:
Jocelyn Fiat
2013-03-19 22:00:25 +01:00
parent 115b622724
commit 3f237c737d
2 changed files with 34 additions and 36 deletions

View File

@@ -35,8 +35,15 @@ feature -- Access
filter: WSF_FILTER
-- Filter
feature -- Execution
execute (req: WSF_REQUEST; res: WSF_RESPONSE)
do
filter.execute (req, res)
end
;note
copyright: "2011-2012, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others"
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