New design for self documented router.
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
This commit is contained in:
@@ -10,6 +10,7 @@ deferred class
|
||||
feature {NONE} -- Initialization
|
||||
|
||||
make (a_resource: READABLE_STRING_8; h: like handler)
|
||||
-- Create mapping based on resource `a_resource' and handler `h'
|
||||
deferred
|
||||
end
|
||||
|
||||
@@ -25,6 +26,13 @@ feature -- Access
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user