now use prefix EWSGI_ instead of GW_ for ewsgi specification

This commit is contained in:
Jocelyn Fiat
2011-07-27 15:40:51 +02:00
parent 302ae8d030
commit e5fb3f8328
14 changed files with 82 additions and 82 deletions

View File

@@ -1,16 +1,16 @@
note note
description: "Summary description for {GW_APPLICATION}." description: "Summary description for {EWSGI_APPLICATION}."
legal: "See notice at end of class." legal: "See notice at end of class."
status: "See notice at end of class." status: "See notice at end of class."
date: "$Date$" date: "$Date$"
revision: "$Revision$" revision: "$Revision$"
deferred class deferred class
GW_APPLICATION EWSGI_APPLICATION
feature -- Process request feature -- Process request
process (env: GW_ENVIRONMENT; a_input: GW_INPUT_STREAM; a_output: GW_OUTPUT_STREAM) process (env: EWSGI_ENVIRONMENT; a_input: EWSGI_INPUT_STREAM; a_output: EWSGI_OUTPUT_STREAM)
-- Process request with environment `env', and i/o streams `a_input' and `a_output' -- Process request with environment `env', and i/o streams `a_input' and `a_output'
local local
rescued: BOOLEAN rescued: BOOLEAN
@@ -33,7 +33,7 @@ feature -- Process request
feature {NONE} -- Execution feature {NONE} -- Execution
execute (req: GW_REQUEST; res: GW_RESPONSE) execute (req: EWSGI_REQUEST; res: EWSGI_RESPONSE)
-- Execute the request -- Execute the request
-- See `req.input' for input stream -- See `req.input' for input stream
-- `req.environment' for the Gateway environment -- `req.environment' for the Gateway environment
@@ -41,19 +41,19 @@ feature {NONE} -- Execution
deferred deferred
end end
pre_execute (env: GW_ENVIRONMENT) pre_execute (env: EWSGI_ENVIRONMENT)
-- Operation processed before `execute' -- Operation processed before `execute'
require require
env_attached: env /= Void env_attached: env /= Void
do do
end end
post_execute (req: detachable GW_REQUEST; res: detachable GW_RESPONSE) post_execute (req: detachable EWSGI_REQUEST; res: detachable EWSGI_RESPONSE)
-- Operation processed after `execute', or after `rescue_execute' -- Operation processed after `execute', or after `rescue_execute'
do do
end end
rescue_execute (req: detachable GW_REQUEST; res: detachable GW_RESPONSE; a_exception: detachable EXCEPTION) rescue_execute (req: detachable EWSGI_REQUEST; res: detachable EWSGI_RESPONSE; a_exception: detachable EXCEPTION)
-- Operation processed on rescue of `execute' -- Operation processed on rescue of `execute'
do do
post_execute (req, res) post_execute (req, res)
@@ -61,7 +61,7 @@ feature {NONE} -- Execution
feature -- Factory feature -- Factory
new_request (env: GW_ENVIRONMENT; a_input: GW_INPUT_STREAM): GW_REQUEST new_request (env: EWSGI_ENVIRONMENT; a_input: EWSGI_INPUT_STREAM): EWSGI_REQUEST
-- New Request context based on `env' and `a_input' -- New Request context based on `env' and `a_input'
--| note: you can redefine this function to create your own --| note: you can redefine this function to create your own
--| descendant of GW_REQUEST_CONTEXT , or even to reuse/recycle existing --| descendant of GW_REQUEST_CONTEXT , or even to reuse/recycle existing
@@ -69,7 +69,7 @@ feature -- Factory
deferred deferred
end end
new_response (req: GW_REQUEST; a_output: GW_OUTPUT_STREAM): GW_RESPONSE new_response (req: EWSGI_REQUEST; a_output: EWSGI_OUTPUT_STREAM): EWSGI_RESPONSE
-- New Response based on `req' and `a_output' -- New Response based on `req' and `a_output'
--| note: you can redefine this function to create your own --| note: you can redefine this function to create your own
--| descendant of GW_RESPONSE , or even to reuse/recycle existing --| descendant of GW_RESPONSE , or even to reuse/recycle existing

View File

@@ -1,11 +1,11 @@
note note
description: "Summary description for {GW_CONNECTOR}." description: "Summary description for {EWSGI_CONNECTOR}."
author: "" author: ""
date: "$Date$" date: "$Date$"
revision: "$Revision$" revision: "$Revision$"
deferred class deferred class
GW_CONNECTOR EWSGI_CONNECTOR
feature {NONE} -- Initialization feature {NONE} -- Initialization
@@ -22,7 +22,7 @@ feature {NONE} -- Initialization
feature {NONE} -- Access feature {NONE} -- Access
application: GW_APPLICATION application: EWSGI_APPLICATION
-- Gateway Application -- Gateway Application
feature -- Server feature -- Server

View File

@@ -8,7 +8,7 @@ note
revision: "$Revision$" revision: "$Revision$"
class class
GW_COOKIE EWSGI_COOKIE
create create
make make

View File

@@ -91,10 +91,10 @@ note
deferred deferred
class class
GW_ENVIRONMENT EWSGI_ENVIRONMENT
inherit inherit
GW_VARIABLES [STRING_8] EWSGI_VARIABLES [STRING_8]
ITERABLE [STRING_8] ITERABLE [STRING_8]
@@ -581,7 +581,7 @@ feature -- Extra
deferred deferred
end end
feature {GW_REQUEST} -- Element change feature {EWSGI_REQUEST} -- Element change
set_orig_path_info (s: STRING) set_orig_path_info (s: STRING)
-- Set ORIG_PATH_INFO to `s' -- Set ORIG_PATH_INFO to `s'
@@ -589,21 +589,21 @@ feature {GW_REQUEST} -- Element change
s_attached: s /= Void s_attached: s /= Void
deferred deferred
ensure ensure
same_orig_path_info: orig_path_info ~ variable ({GW_ENVIRONMENT_NAMES}.orig_path_info) same_orig_path_info: orig_path_info ~ variable ({EWSGI_ENVIRONMENT_NAMES}.orig_path_info)
end end
unset_orig_path_info unset_orig_path_info
-- Unset ORIG_PATH_INFO -- Unset ORIG_PATH_INFO
deferred deferred
ensure ensure
unset: not has_variable ({GW_ENVIRONMENT_NAMES}.orig_path_info) unset: not has_variable ({EWSGI_ENVIRONMENT_NAMES}.orig_path_info)
end end
update_path_info (a_path_info: like path_info) update_path_info (a_path_info: like path_info)
-- Updated PATH_INFO -- Updated PATH_INFO
deferred deferred
ensure ensure
same_path_info: path_info ~ variable ({GW_ENVIRONMENT_NAMES}.path_info) same_path_info: path_info ~ variable ({EWSGI_ENVIRONMENT_NAMES}.path_info)
end end
invariant invariant
@@ -614,7 +614,7 @@ invariant
query_string_attached: query_string /= Void query_string_attached: query_string /= Void
remote_addr_attached: remote_addr /= Void remote_addr_attached: remote_addr /= Void
path_info_identical: path_info ~ variable ({GW_ENVIRONMENT_NAMES}.path_info) path_info_identical: path_info ~ variable ({EWSGI_ENVIRONMENT_NAMES}.path_info)
;note ;note
copyright: "2011-2011, Eiffel Software and others" copyright: "2011-2011, Eiffel Software and others"

View File

@@ -1,12 +1,12 @@
note note
description: "Summary description for {GW_ENVIRONMENT_NAMES}." description: "Summary description for {EWSGI_ENVIRONMENT_NAMES}."
legal: "See notice at end of class." legal: "See notice at end of class."
status: "See notice at end of class." status: "See notice at end of class."
date: "$Date$" date: "$Date$"
revision: "$Revision$" revision: "$Revision$"
class class
GW_ENVIRONMENT_NAMES EWSGI_ENVIRONMENT_NAMES
feature -- Access feature -- Access

View File

@@ -1,15 +1,15 @@
note note
description: "Summary description for {GW_ENVIRONMENT_VARIABLES}." description: "Summary description for {EWSGI_ENVIRONMENT_VARIABLES}."
legal: "See notice at end of class." legal: "See notice at end of class."
status: "See notice at end of class." status: "See notice at end of class."
date: "$Date$" date: "$Date$"
revision: "$Revision$" revision: "$Revision$"
class class
GW_ENVIRONMENT_VARIABLES EWSGI_ENVIRONMENT_VARIABLES
inherit inherit
GW_ENVIRONMENT EWSGI_ENVIRONMENT
redefine redefine
update_path_info update_path_info
end end
@@ -37,13 +37,13 @@ feature {NONE} -- Initialization
end end
--| QUERY_STRING --| QUERY_STRING
query_string := variable_or_default ({GW_ENVIRONMENT_NAMES}.query_string, empty_string, False) query_string := variable_or_default ({EWSGI_ENVIRONMENT_NAMES}.query_string, empty_string, False)
--| REQUEST_METHOD --| REQUEST_METHOD
request_method := variable_or_default ({GW_ENVIRONMENT_NAMES}.request_method, empty_string, False) request_method := variable_or_default ({EWSGI_ENVIRONMENT_NAMES}.request_method, empty_string, False)
--| CONTENT_TYPE --| CONTENT_TYPE
s := variable ({GW_ENVIRONMENT_NAMES}.content_type) s := variable ({EWSGI_ENVIRONMENT_NAMES}.content_type)
if s /= Void and then not s.is_empty then if s /= Void and then not s.is_empty then
content_type := s content_type := s
else else
@@ -51,7 +51,7 @@ feature {NONE} -- Initialization
end end
--| CONTENT_LENGTH --| CONTENT_LENGTH
s := variable ({GW_ENVIRONMENT_NAMES}.content_length) s := variable ({EWSGI_ENVIRONMENT_NAMES}.content_length)
content_length := s content_length := s
if s /= Void and then s.is_integer then if s /= Void and then s.is_integer then
content_length_value := s.to_integer content_length_value := s.to_integer
@@ -60,13 +60,13 @@ feature {NONE} -- Initialization
end end
--| PATH_INFO --| PATH_INFO
path_info := variable_or_default ({GW_ENVIRONMENT_NAMES}.path_info, empty_string, False) path_info := variable_or_default ({EWSGI_ENVIRONMENT_NAMES}.path_info, empty_string, False)
--| SERVER_NAME --| SERVER_NAME
server_name := variable_or_default ({GW_ENVIRONMENT_NAMES}.server_name, empty_string, False) server_name := variable_or_default ({EWSGI_ENVIRONMENT_NAMES}.server_name, empty_string, False)
--| SERVER_PORT --| SERVER_PORT
s := variable ({GW_ENVIRONMENT_NAMES}.server_port) s := variable ({EWSGI_ENVIRONMENT_NAMES}.server_port)
if s /= Void and then s.is_integer then if s /= Void and then s.is_integer then
server_port := s.to_integer server_port := s.to_integer
else else
@@ -74,16 +74,16 @@ feature {NONE} -- Initialization
end end
--| SCRIPT_NAME --| SCRIPT_NAME
script_name := variable_or_default ({GW_ENVIRONMENT_NAMES}.script_name, empty_string, False) script_name := variable_or_default ({EWSGI_ENVIRONMENT_NAMES}.script_name, empty_string, False)
--| REMOTE_ADDR --| REMOTE_ADDR
remote_addr := variable_or_default ({GW_ENVIRONMENT_NAMES}.remote_addr, empty_string, False) remote_addr := variable_or_default ({EWSGI_ENVIRONMENT_NAMES}.remote_addr, empty_string, False)
--| REMOTE_HOST --| REMOTE_HOST
remote_host := variable_or_default ({GW_ENVIRONMENT_NAMES}.remote_host, empty_string, False) remote_host := variable_or_default ({EWSGI_ENVIRONMENT_NAMES}.remote_host, empty_string, False)
--| REQUEST_URI --| REQUEST_URI
request_uri := variable_or_default ({GW_ENVIRONMENT_NAMES}.request_uri, empty_string, False) request_uri := variable_or_default ({EWSGI_ENVIRONMENT_NAMES}.request_uri, empty_string, False)
end end
feature -- Access feature -- Access
@@ -102,7 +102,7 @@ feature -- Access
Result := table.has_key (a_name) Result := table.has_key (a_name)
end end
feature {GW_REQUEST, GW_APPLICATION, GW_CONNECTOR} -- Element change feature {EWSGI_REQUEST, EWSGI_APPLICATION, EWSGI_CONNECTOR} -- Element change
set_variable (a_name: STRING; a_value: STRING) set_variable (a_name: STRING; a_value: STRING)
do do
@@ -126,7 +126,7 @@ feature -- Common Gateway Interface - 1.1 8 January 1996
gateway_interface: STRING gateway_interface: STRING
do do
Result := variable_or_default ({GW_ENVIRONMENT_NAMES}.gateway_interface, "", False) Result := variable_or_default ({EWSGI_ENVIRONMENT_NAMES}.gateway_interface, "", False)
end end
path_info: STRING path_info: STRING
@@ -139,7 +139,7 @@ feature -- Common Gateway Interface - 1.1 8 January 1996
path_translated: detachable STRING path_translated: detachable STRING
do do
Result := variable ({GW_ENVIRONMENT_NAMES}.path_translated) Result := variable ({EWSGI_ENVIRONMENT_NAMES}.path_translated)
end end
query_string: STRING query_string: STRING
@@ -150,12 +150,12 @@ feature -- Common Gateway Interface - 1.1 8 January 1996
remote_ident: detachable STRING remote_ident: detachable STRING
do do
Result := variable ({GW_ENVIRONMENT_NAMES}.remote_ident) Result := variable ({EWSGI_ENVIRONMENT_NAMES}.remote_ident)
end end
remote_user: detachable STRING remote_user: detachable STRING
do do
Result := variable ({GW_ENVIRONMENT_NAMES}.remote_user) Result := variable ({EWSGI_ENVIRONMENT_NAMES}.remote_user)
end end
request_method: STRING request_method: STRING
@@ -168,12 +168,12 @@ feature -- Common Gateway Interface - 1.1 8 January 1996
server_protocol: STRING server_protocol: STRING
do do
Result := variable_or_default ({GW_ENVIRONMENT_NAMES}.server_protocol, "HTTP/1.0", True) Result := variable_or_default ({EWSGI_ENVIRONMENT_NAMES}.server_protocol, "HTTP/1.0", True)
end end
server_software: STRING server_software: STRING
do do
Result := variable_or_default ({GW_ENVIRONMENT_NAMES}.server_software, "Unknown Server", True) Result := variable_or_default ({EWSGI_ENVIRONMENT_NAMES}.server_software, "Unknown Server", True)
end end
feature -- HTTP_* feature -- HTTP_*
@@ -181,41 +181,41 @@ feature -- HTTP_*
http_accept: detachable STRING http_accept: detachable STRING
-- Contents of the Accept: header from the current request, if there is one. -- Contents of the Accept: header from the current request, if there is one.
do do
Result := table.item ({GW_ENVIRONMENT_NAMES}.http_accept) Result := table.item ({EWSGI_ENVIRONMENT_NAMES}.http_accept)
end end
http_accept_charset: detachable STRING http_accept_charset: detachable STRING
-- Contents of the Accept-Charset: header from the current request, if there is one. -- Contents of the Accept-Charset: header from the current request, if there is one.
-- Example: 'iso-8859-1,*,utf-8'. -- Example: 'iso-8859-1,*,utf-8'.
do do
Result := table.item ({GW_ENVIRONMENT_NAMES}.http_accept_charset) Result := table.item ({EWSGI_ENVIRONMENT_NAMES}.http_accept_charset)
end end
http_accept_encoding: detachable STRING http_accept_encoding: detachable STRING
-- Contents of the Accept-Encoding: header from the current request, if there is one. -- Contents of the Accept-Encoding: header from the current request, if there is one.
-- Example: 'gzip'. -- Example: 'gzip'.
do do
Result := table.item ({GW_ENVIRONMENT_NAMES}.http_accept_encoding) Result := table.item ({EWSGI_ENVIRONMENT_NAMES}.http_accept_encoding)
end end
http_accept_language: detachable STRING http_accept_language: detachable STRING
-- Contents of the Accept-Language: header from the current request, if there is one. -- Contents of the Accept-Language: header from the current request, if there is one.
-- Example: 'en'. -- Example: 'en'.
do do
Result := table.item ({GW_ENVIRONMENT_NAMES}.http_accept_language) Result := table.item ({EWSGI_ENVIRONMENT_NAMES}.http_accept_language)
end end
http_connection: detachable STRING http_connection: detachable STRING
-- Contents of the Connection: header from the current request, if there is one. -- Contents of the Connection: header from the current request, if there is one.
-- Example: 'Keep-Alive'. -- Example: 'Keep-Alive'.
do do
Result := table.item ({GW_ENVIRONMENT_NAMES}.http_connection) Result := table.item ({EWSGI_ENVIRONMENT_NAMES}.http_connection)
end end
http_host: detachable STRING http_host: detachable STRING
-- Contents of the Host: header from the current request, if there is one. -- Contents of the Host: header from the current request, if there is one.
do do
Result := table.item ({GW_ENVIRONMENT_NAMES}.http_host) Result := table.item ({EWSGI_ENVIRONMENT_NAMES}.http_host)
end end
http_referer: detachable STRING http_referer: detachable STRING
@@ -224,7 +224,7 @@ feature -- HTTP_*
-- Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. -- Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature.
-- In short, it cannot really be trusted. -- In short, it cannot really be trusted.
do do
Result := table.item ({GW_ENVIRONMENT_NAMES}.http_referer) Result := table.item ({EWSGI_ENVIRONMENT_NAMES}.http_referer)
end end
http_user_agent: detachable STRING http_user_agent: detachable STRING
@@ -234,13 +234,13 @@ feature -- HTTP_*
-- Among other things, you can use this value to tailor your page's -- Among other things, you can use this value to tailor your page's
-- output to the capabilities of the user agent. -- output to the capabilities of the user agent.
do do
Result := table.item ({GW_ENVIRONMENT_NAMES}.http_user_agent) Result := table.item ({EWSGI_ENVIRONMENT_NAMES}.http_user_agent)
end end
http_authorization: detachable STRING http_authorization: detachable STRING
-- Contents of the Authorization: header from the current request, if there is one. -- Contents of the Authorization: header from the current request, if there is one.
do do
Result := table.item ({GW_ENVIRONMENT_NAMES}.http_authorization) Result := table.item ({EWSGI_ENVIRONMENT_NAMES}.http_authorization)
end end
feature -- Extra feature -- Extra
@@ -251,24 +251,24 @@ feature -- Extra
orig_path_info: detachable STRING orig_path_info: detachable STRING
-- Original version of `path_info' before processed by Current environment -- Original version of `path_info' before processed by Current environment
feature {GW_REQUEST} -- Update feature {EWSGI_REQUEST} -- Update
set_orig_path_info (s: STRING) set_orig_path_info (s: STRING)
do do
orig_path_info := s orig_path_info := s
set_variable ({GW_ENVIRONMENT_NAMES}.orig_path_info, s) set_variable ({EWSGI_ENVIRONMENT_NAMES}.orig_path_info, s)
end end
unset_orig_path_info unset_orig_path_info
do do
orig_path_info := Void orig_path_info := Void
unset_variable ({GW_ENVIRONMENT_NAMES}.orig_path_info) unset_variable ({EWSGI_ENVIRONMENT_NAMES}.orig_path_info)
end end
update_path_info (a_path_info: like path_info) update_path_info (a_path_info: like path_info)
do do
path_info := a_path_info path_info := a_path_info
set_variable ({GW_ENVIRONMENT_NAMES}.path_info, a_path_info) set_variable ({EWSGI_ENVIRONMENT_NAMES}.path_info, a_path_info)
end end
feature {NONE} -- Implementation feature {NONE} -- Implementation

View File

@@ -1,15 +1,15 @@
note note
description: "Summary description for {HTTPD_EXECUTION_VARIABLES}." description: "Summary description for {EWSGI_EXECUTION_VARIABLES}."
legal: "See notice at end of class." legal: "See notice at end of class."
status: "See notice at end of class." status: "See notice at end of class."
date: "$Date$" date: "$Date$"
revision: "$Revision$" revision: "$Revision$"
class class
GW_EXECUTION_VARIABLES EWSGI_EXECUTION_VARIABLES
inherit inherit
GW_VARIABLES [STRING_32] EWSGI_VARIABLES [STRING_32]
undefine undefine
copy, is_equal copy, is_equal
end end
@@ -31,7 +31,7 @@ feature -- Status report
Result := has (a_name) Result := has (a_name)
end end
feature {GW_REQUEST, GW_APPLICATION, GW_CONNECTOR} -- Element change feature {EWSGI_REQUEST, EWSGI_APPLICATION, EWSGI_CONNECTOR} -- Element change
set_variable (a_name: STRING; a_value: STRING_32) set_variable (a_name: STRING; a_value: STRING_32)
do do

View File

@@ -13,11 +13,11 @@ note
revision: "$Revision$" revision: "$Revision$"
deferred class deferred class
GW_REQUEST EWSGI_REQUEST
feature -- Access: Input feature -- Access: Input
input: GW_INPUT_STREAM input: EWSGI_INPUT_STREAM
-- Server input channel -- Server input channel
deferred deferred
end end
@@ -31,7 +31,7 @@ feature -- Access: extra values
feature -- Access: environment variables feature -- Access: environment variables
environment: GW_ENVIRONMENT environment: EWSGI_ENVIRONMENT
-- Environment variables -- Environment variables
deferred deferred
end end
@@ -45,7 +45,7 @@ feature -- Access: environment variables
feature -- Access: execution variables feature -- Access: execution variables
execution_variables: GW_EXECUTION_VARIABLES execution_variables: EWSGI_EXECUTION_VARIABLES
-- Execution variables set by the application -- Execution variables set by the application
deferred deferred
end end
@@ -59,7 +59,7 @@ feature -- Access: execution variables
feature -- URL Parameters feature -- URL Parameters
parameters: GW_REQUEST_VARIABLES parameters: EWSGI_REQUEST_VARIABLES
-- Variables extracted from QUERY_STRING -- Variables extracted from QUERY_STRING
deferred deferred
end end
@@ -73,7 +73,7 @@ feature -- URL Parameters
feature -- Form fields and related feature -- Form fields and related
form_fields: GW_REQUEST_VARIABLES form_fields: EWSGI_REQUEST_VARIABLES
-- Variables sent by POST request -- Variables sent by POST request
deferred deferred
end end
@@ -85,7 +85,7 @@ feature -- Form fields and related
deferred deferred
end end
uploaded_files: HASH_TABLE [GW_UPLOADED_FILE_DATA, STRING] uploaded_files: HASH_TABLE [EWSGI_UPLOADED_FILE_DATA, STRING]
-- Table of uploaded files information -- Table of uploaded files information
--| name: original path from the user --| name: original path from the user
--| type: content type --| type: content type
@@ -110,7 +110,7 @@ feature -- Cookies
deferred deferred
end end
cookies: HASH_TABLE [GW_COOKIE, STRING] cookies: HASH_TABLE [EWSGI_COOKIE, STRING]
-- Cookies Information -- Cookies Information
deferred deferred
end end

View File

@@ -8,10 +8,10 @@ note
revision: "$Revision$" revision: "$Revision$"
class class
GW_REQUEST_VARIABLES EWSGI_REQUEST_VARIABLES
inherit inherit
GW_VARIABLES [STRING_32] EWSGI_VARIABLES [STRING_32]
ITERABLE [STRING_32] ITERABLE [STRING_32]
@@ -51,7 +51,7 @@ feature -- Status report
Result := table.has (a_name) Result := table.has (a_name)
end end
feature {GW_REQUEST, GW_APPLICATION, GW_CONNECTOR} -- Element change feature {EWSGI_REQUEST, EWSGI_APPLICATION, EWSGI_CONNECTOR} -- Element change
set_variable (a_name: STRING; a_value: STRING_32) set_variable (a_name: STRING; a_value: STRING_32)
do do
@@ -111,7 +111,7 @@ feature -- Access: table
create Result.make (table) create Result.make (table)
end end
feature {GW_REQUEST} -- Element change feature {EWSGI_REQUEST} -- Element change
add_variable (v: STRING_32; k: STRING_32) add_variable (v: STRING_32; k: STRING_32)
-- Added `k,v' to variables table -- Added `k,v' to variables table
@@ -124,7 +124,7 @@ feature {GW_REQUEST} -- Element change
table.force (v, k) table.force (v, k)
end end
feature {GW_REQUEST} -- Element change feature {EWSGI_REQUEST} -- Element change
table: HASH_TABLE [STRING_32, STRING_32] table: HASH_TABLE [STRING_32, STRING_32]
-- Variables table -- Variables table

View File

@@ -1,15 +1,15 @@
note note
description: "Summary description for {GW_RESPONSE}." description: "Summary description for {EWSGI_RESPONSE}."
author: "" author: ""
date: "$Date$" date: "$Date$"
revision: "$Revision$" revision: "$Revision$"
deferred class deferred class
GW_RESPONSE EWSGI_RESPONSE
feature {GW_APPLICATION} -- Commit feature {EWSGI_APPLICATION} -- Commit
commit (a_output_stream: GW_OUTPUT_STREAM) commit (a_output_stream: EWSGI_OUTPUT_STREAM)
-- Commit the current response -- Commit the current response
deferred deferred
ensure ensure

View File

@@ -5,7 +5,7 @@ note
revision: "$Revision$" revision: "$Revision$"
class class
GW_UPLOADED_FILE_DATA EWSGI_UPLOADED_FILE_DATA
create create
make make

View File

@@ -8,7 +8,7 @@ note
revision: "$Revision$" revision: "$Revision$"
deferred class deferred class
GW_VARIABLES [G -> STRING_GENERAL] EWSGI_VARIABLES [G -> STRING_GENERAL]
feature -- Status report feature -- Status report
@@ -46,7 +46,7 @@ feature -- Access
end end
end end
feature {GW_REQUEST, GW_APPLICATION, GW_CONNECTOR} -- Element change feature {EWSGI_REQUEST, EWSGI_APPLICATION, EWSGI_CONNECTOR} -- Element change
set_variable (a_name: STRING; a_value: G) set_variable (a_name: STRING; a_value: G)
require require

View File

@@ -8,7 +8,7 @@ note
revision: "$Revision$" revision: "$Revision$"
deferred class deferred class
GW_INPUT_STREAM EWSGI_INPUT_STREAM
feature -- Access feature -- Access

View File

@@ -8,7 +8,7 @@ note
revision: "$Revision$" revision: "$Revision$"
deferred class deferred class
GW_OUTPUT_STREAM EWSGI_OUTPUT_STREAM
inherit inherit
ANY ANY