- removed path_parameter - added `item' to include WSF_REQUEST.item - marked obsolete `parameter' The goal is to remove confusion, remove URI_TEMPLATE specific `path_parameter' and provide a way to use ctx.item (..) to also include meta variable, query, form, ... items
44 lines
908 B
Plaintext
44 lines
908 B
Plaintext
note
|
|
description: "Summary description for {WSF_URI_HANDLER_CONTEXT}."
|
|
author: ""
|
|
date: "$Date$"
|
|
revision: "$Revision$"
|
|
|
|
class
|
|
WSF_URI_HANDLER_CONTEXT
|
|
|
|
inherit
|
|
WSF_HANDLER_CONTEXT
|
|
|
|
create
|
|
make
|
|
|
|
feature {NONE} -- Initialization
|
|
|
|
make (req: WSF_REQUEST; p: like path)
|
|
do
|
|
request := req
|
|
path := p
|
|
end
|
|
|
|
feature -- Item
|
|
|
|
item (a_name: READABLE_STRING_8): detachable WSF_VALUE
|
|
-- Variable value for parameter or variable `a_name'
|
|
-- See `{WSF_REQUEST}.item(s)'
|
|
do
|
|
Result := request.item (a_name)
|
|
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
|