Added filter context handler Added WSF_STARTS_WITH_ROUTING_HANDLER and WSF_URI_ROUTING_HANDLER (in addition to the uri template version)
36 lines
875 B
Plaintext
36 lines
875 B
Plaintext
note
|
|
description: "Summary description for {WSF_HANDLER}."
|
|
author: ""
|
|
date: "$Date$"
|
|
revision: "$Revision$"
|
|
|
|
deferred class
|
|
WSF_HANDLER
|
|
|
|
feature -- Status report
|
|
|
|
is_valid_context (req: WSF_REQUEST): BOOLEAN
|
|
-- Is `req' valid context for current handler?
|
|
do
|
|
Result := True
|
|
end
|
|
|
|
feature {WSF_ROUTER} -- Mapping
|
|
|
|
on_mapped (a_mapping: WSF_ROUTER_MAPPING; a_rqst_methods: detachable WSF_ROUTER_METHODS)
|
|
-- Callback called when a router map a route to Current handler
|
|
do
|
|
end
|
|
|
|
note
|
|
copyright: "2011-2012, Jocelyn Fiat, Javier Velilla, 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
|