The documentation is built only on demand. A mapping entry can be hidden for the documentation One can change the status code when building itself the WSF_ROUTER_SELF_DOCUMENTATION_MESSAGE
62 lines
1.4 KiB
Plaintext
62 lines
1.4 KiB
Plaintext
note
|
|
description: "Summary description for {WSF_ROUTER_MAPPING}."
|
|
author: ""
|
|
date: "$Date$"
|
|
revision: "$Revision$"
|
|
|
|
deferred class
|
|
WSF_ROUTER_MAPPING
|
|
|
|
feature {NONE} -- Initialization
|
|
|
|
make (a_resource: READABLE_STRING_8; h: like handler)
|
|
-- Create mapping based on resource `a_resource' and handler `h'
|
|
deferred
|
|
end
|
|
|
|
feature -- Access
|
|
|
|
associated_resource: READABLE_STRING_8
|
|
-- Associated resource
|
|
deferred
|
|
end
|
|
|
|
handler: WSF_HANDLER
|
|
-- Handler associated with Current mapping.
|
|
deferred
|
|
end
|
|
|
|
feature -- Documentation
|
|
|
|
description: READABLE_STRING_32
|
|
-- Short description of associated mapping.
|
|
deferred
|
|
end
|
|
|
|
feature -- Status
|
|
|
|
routed_handler (req: WSF_REQUEST; res: WSF_RESPONSE; a_router: WSF_ROUTER): detachable WSF_HANDLER
|
|
-- Return the handler if Current matches the request `req'.
|
|
deferred
|
|
end
|
|
|
|
feature -- Helper
|
|
|
|
path_from_request (req: WSF_REQUEST): READABLE_STRING_32
|
|
-- Path used by Current to check that Current mapping matches request `req'.
|
|
do
|
|
Result := req.path_info
|
|
end
|
|
|
|
note
|
|
copyright: "2011-2012, 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
|
|
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
|