Added descriptions and feature comments.

This commit is contained in:
jvelilla
2015-04-06 17:05:35 -03:00
parent 4f9fcf42e2
commit d576879b2c
2 changed files with 9 additions and 3 deletions

View File

@@ -1,6 +1,8 @@
note note
description: "Summary description for {WGI_HTTPD_REQUEST_HANDLER}." description: "[
author: "" WGI implementation of HTTPD_REQUEST_HANDLER, will process the incoming connection
and extract information on the request and the server
]"
date: "$Date$" date: "$Date$"
revision: "$Revision$" revision: "$Revision$"
@@ -34,8 +36,10 @@ feature {NONE} -- Initialization
feature -- Access feature -- Access
connector: detachable separate WGI_STANDALONE_CONNECTOR [G] connector: detachable separate WGI_STANDALONE_CONNECTOR [G]
-- httpd solution.
base: detachable IMMUTABLE_STRING_8 base: detachable IMMUTABLE_STRING_8
-- Root url base.
do do
if attached connector as conn then if attached connector as conn then
if attached connector_base (conn) as l_base then if attached connector_base (conn) as l_base then
@@ -47,6 +51,7 @@ feature -- Access
feature -- SCOOP helpers feature -- SCOOP helpers
connector_base (conn: separate WGI_STANDALONE_CONNECTOR [G]): detachable separate READABLE_STRING_8 connector_base (conn: separate WGI_STANDALONE_CONNECTOR [G]): detachable separate READABLE_STRING_8
-- Rool url based from a connector `conn'.
do do
Result := conn.base Result := conn.base
end end

View File

@@ -1,6 +1,5 @@
note note
description: "Summary description for {WGI_HTTPD_REQUEST_HANDLER_FACTORY}." description: "Summary description for {WGI_HTTPD_REQUEST_HANDLER_FACTORY}."
author: ""
date: "$Date$" date: "$Date$"
revision: "$Revision$" revision: "$Revision$"
@@ -13,10 +12,12 @@ inherit
feature -- Access feature -- Access
connector: detachable separate WGI_STANDALONE_CONNECTOR [G] connector: detachable separate WGI_STANDALONE_CONNECTOR [G]
-- httpd solution.
feature -- Element change feature -- Element change
set_connector (conn: like connector) set_connector (conn: like connector)
-- Set `connector' with `conn'.
do do
connector := conn connector := conn
end end