Implemented 414 and 503 responses on WSF_ROUTED_SERVICE

This commit is contained in:
Colin Adams
2013-03-16 15:12:58 +00:00
parent a6fbed22fe
commit d01f47f1ee
3 changed files with 11 additions and 34 deletions

View File

@@ -10,9 +10,6 @@ inherit
ANY
WSF_URI_TEMPLATE_ROUTED_SERVICE
redefine
execute_default
end
WSF_HANDLER_HELPER
@@ -42,18 +39,9 @@ feature {NONE} -- Initialization
router.handle_with_request_methods ("/api/doc", doc, router.methods_GET)
end
feature -- Execution
execute_default (req: WSF_REQUEST; res: WSF_RESPONSE)
-- I'm using this method to handle the method not allowed response
-- in the case that the given uri does not have a corresponding http method
-- to handle it.
do
Precursor (req, res)
end
note
copyright: "2011-2012, Javier Velilla and others"
copyright: "2011-2013, Javier Velilla and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
source: "[
Eiffel Software