Now WSF_FILTER_HANDLER is a handler and has formal generic G constrained to WSF_HANDLER
This eases implementation of potential descendants.
This commit is contained in:
@@ -8,14 +8,14 @@ note
|
|||||||
revision: "$Revision$"
|
revision: "$Revision$"
|
||||||
|
|
||||||
deferred class
|
deferred class
|
||||||
WSF_FILTER_HANDLER
|
WSF_FILTER_HANDLER [G -> WSF_HANDLER]
|
||||||
|
|
||||||
inherit
|
inherit
|
||||||
WSF_HANDLER
|
WSF_HANDLER
|
||||||
|
|
||||||
feature -- Access
|
feature -- Access
|
||||||
|
|
||||||
next: detachable WSF_HANDLER
|
next: detachable G
|
||||||
-- Next handler
|
-- Next handler
|
||||||
|
|
||||||
feature -- Element change
|
feature -- Element change
|
||||||
@@ -29,7 +29,7 @@ feature -- Element change
|
|||||||
end
|
end
|
||||||
|
|
||||||
note
|
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)"
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||||
source: "[
|
source: "[
|
||||||
Eiffel Software
|
Eiffel Software
|
||||||
|
|||||||
@@ -8,18 +8,10 @@ deferred class
|
|||||||
WSF_STARTS_WITH_FILTER_HANDLER
|
WSF_STARTS_WITH_FILTER_HANDLER
|
||||||
|
|
||||||
inherit
|
inherit
|
||||||
WSF_FILTER_HANDLER
|
WSF_FILTER_HANDLER [WSF_STARTS_WITH_HANDLER]
|
||||||
redefine
|
|
||||||
next
|
|
||||||
end
|
|
||||||
|
|
||||||
WSF_STARTS_WITH_HANDLER
|
WSF_STARTS_WITH_HANDLER
|
||||||
|
|
||||||
feature -- Access
|
|
||||||
|
|
||||||
next: detachable WSF_STARTS_WITH_FILTER_HANDLER
|
|
||||||
-- Next handler
|
|
||||||
|
|
||||||
feature -- Execution
|
feature -- Execution
|
||||||
|
|
||||||
execute_next (a_start_path: READABLE_STRING_8; req: WSF_REQUEST; res: WSF_RESPONSE)
|
execute_next (a_start_path: READABLE_STRING_8; req: WSF_REQUEST; res: WSF_RESPONSE)
|
||||||
@@ -30,7 +22,7 @@ feature -- Execution
|
|||||||
end
|
end
|
||||||
|
|
||||||
note
|
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)"
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||||
source: "[
|
source: "[
|
||||||
Eiffel Software
|
Eiffel Software
|
||||||
|
|||||||
@@ -8,18 +8,10 @@ deferred class
|
|||||||
WSF_URI_FILTER_HANDLER
|
WSF_URI_FILTER_HANDLER
|
||||||
|
|
||||||
inherit
|
inherit
|
||||||
WSF_FILTER_HANDLER
|
WSF_FILTER_HANDLER [WSF_URI_HANDLER]
|
||||||
redefine
|
|
||||||
next
|
|
||||||
end
|
|
||||||
|
|
||||||
WSF_URI_HANDLER
|
WSF_URI_HANDLER
|
||||||
|
|
||||||
feature -- Access
|
|
||||||
|
|
||||||
next: detachable WSF_URI_FILTER_HANDLER
|
|
||||||
-- Next handler
|
|
||||||
|
|
||||||
feature -- Execution
|
feature -- Execution
|
||||||
|
|
||||||
execute_next (req: WSF_REQUEST; res: WSF_RESPONSE)
|
execute_next (req: WSF_REQUEST; res: WSF_RESPONSE)
|
||||||
@@ -30,7 +22,7 @@ feature -- Execution
|
|||||||
end
|
end
|
||||||
|
|
||||||
note
|
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)"
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||||
source: "[
|
source: "[
|
||||||
Eiffel Software
|
Eiffel Software
|
||||||
|
|||||||
@@ -8,18 +8,10 @@ deferred class
|
|||||||
WSF_URI_TEMPLATE_FILTER_HANDLER
|
WSF_URI_TEMPLATE_FILTER_HANDLER
|
||||||
|
|
||||||
inherit
|
inherit
|
||||||
WSF_FILTER_HANDLER
|
WSF_FILTER_HANDLER [WSF_URI_TEMPLATE_HANDLER]
|
||||||
redefine
|
|
||||||
next
|
|
||||||
end
|
|
||||||
|
|
||||||
WSF_URI_TEMPLATE_HANDLER
|
WSF_URI_TEMPLATE_HANDLER
|
||||||
|
|
||||||
feature -- Access
|
|
||||||
|
|
||||||
next: detachable WSF_URI_TEMPLATE_HANDLER
|
|
||||||
-- Next handler
|
|
||||||
|
|
||||||
feature -- Execution
|
feature -- Execution
|
||||||
|
|
||||||
execute_next (req: WSF_REQUEST; res: WSF_RESPONSE)
|
execute_next (req: WSF_REQUEST; res: WSF_RESPONSE)
|
||||||
@@ -30,7 +22,7 @@ feature -- Execution
|
|||||||
end
|
end
|
||||||
|
|
||||||
note
|
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)"
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||||
source: "[
|
source: "[
|
||||||
Eiffel Software
|
Eiffel Software
|
||||||
|
|||||||
@@ -8,18 +8,10 @@ deferred class
|
|||||||
WSF_FILTER_CONTEXT_HANDLER [C -> WSF_HANDLER_CONTEXT create make end]
|
WSF_FILTER_CONTEXT_HANDLER [C -> WSF_HANDLER_CONTEXT create make end]
|
||||||
|
|
||||||
inherit
|
inherit
|
||||||
WSF_FILTER_HANDLER
|
WSF_FILTER_HANDLER [WSF_CONTEXT_HANDLER [C]]
|
||||||
redefine
|
|
||||||
next
|
|
||||||
end
|
|
||||||
|
|
||||||
WSF_CONTEXT_HANDLER [C]
|
WSF_CONTEXT_HANDLER [C]
|
||||||
|
|
||||||
feature -- Access
|
|
||||||
|
|
||||||
next: detachable WSF_CONTEXT_HANDLER [C]
|
|
||||||
-- Next handler
|
|
||||||
|
|
||||||
feature {NONE} -- Implementation
|
feature {NONE} -- Implementation
|
||||||
|
|
||||||
execute_next (ctx: C; req: WSF_REQUEST; res: WSF_RESPONSE)
|
execute_next (ctx: C; req: WSF_REQUEST; res: WSF_RESPONSE)
|
||||||
@@ -30,7 +22,7 @@ feature {NONE} -- Implementation
|
|||||||
end
|
end
|
||||||
|
|
||||||
note
|
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)"
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||||
source: "[
|
source: "[
|
||||||
Eiffel Software
|
Eiffel Software
|
||||||
|
|||||||
Reference in New Issue
Block a user