Fixing feature comments
This commit is contained in:
@@ -59,7 +59,7 @@ feature -- Status
|
|||||||
end
|
end
|
||||||
|
|
||||||
try (req: WSF_REQUEST; res: WSF_RESPONSE; sess: WSF_ROUTER_SESSION; a_router: WSF_ROUTER)
|
try (req: WSF_REQUEST; res: WSF_RESPONSE; sess: WSF_ROUTER_SESSION; a_router: WSF_ROUTER)
|
||||||
-- Return the handler if Current matches the request `req'.
|
-- <Precursor>
|
||||||
local
|
local
|
||||||
p: READABLE_STRING_8
|
p: READABLE_STRING_8
|
||||||
s: like based_uri
|
s: like based_uri
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ feature -- Status
|
|||||||
end
|
end
|
||||||
|
|
||||||
try (req: WSF_REQUEST; res: WSF_RESPONSE; sess: WSF_ROUTER_SESSION; a_router: WSF_ROUTER)
|
try (req: WSF_REQUEST; res: WSF_RESPONSE; sess: WSF_ROUTER_SESSION; a_router: WSF_ROUTER)
|
||||||
|
-- <Precursor>
|
||||||
do
|
do
|
||||||
if is_mapping (req, a_router) then
|
if is_mapping (req, a_router) then
|
||||||
sess.set_dispatched_handler (handler)
|
sess.set_dispatched_handler (handler)
|
||||||
|
|||||||
@@ -24,14 +24,14 @@ feature {NONE} -- Initialization
|
|||||||
feature -- Access
|
feature -- Access
|
||||||
|
|
||||||
associated_resource: READABLE_STRING_8
|
associated_resource: READABLE_STRING_8
|
||||||
-- Name (URI, or URI template or regular expression or ...) of handled resource.
|
-- Name (URI, or URI template or regular expression or ...) of handled resource
|
||||||
deferred
|
deferred
|
||||||
ensure
|
ensure
|
||||||
assciated_resource_not_void: Result /= Void
|
assciated_resource_not_void: Result /= Void
|
||||||
end
|
end
|
||||||
|
|
||||||
handler: WSF_HANDLER
|
handler: WSF_HANDLER
|
||||||
-- Handler associated with `Current' mapping.
|
-- Handler associated with `Current' mapping
|
||||||
deferred
|
deferred
|
||||||
ensure
|
ensure
|
||||||
handler_attached: Result /= Void
|
handler_attached: Result /= Void
|
||||||
@@ -40,7 +40,7 @@ feature -- Access
|
|||||||
feature -- Documentation
|
feature -- Documentation
|
||||||
|
|
||||||
description: READABLE_STRING_32
|
description: READABLE_STRING_32
|
||||||
-- Short description of associated mapping.
|
-- Short description of associated mapping
|
||||||
deferred
|
deferred
|
||||||
ensure
|
ensure
|
||||||
description_attached: Result /= Void
|
description_attached: Result /= Void
|
||||||
@@ -78,7 +78,7 @@ feature -- Status
|
|||||||
feature -- Helper
|
feature -- Helper
|
||||||
|
|
||||||
path_from_request (req: WSF_REQUEST): READABLE_STRING_32
|
path_from_request (req: WSF_REQUEST): READABLE_STRING_32
|
||||||
-- Path used by `Current' to check that mapping matches request `req'.
|
-- Path used by `Current' to check that mapping matches request `req'
|
||||||
require
|
require
|
||||||
req_attached: req /= Void
|
req_attached: req /= Void
|
||||||
do
|
do
|
||||||
|
|||||||
Reference in New Issue
Block a user