changed prefix GW_ into EWF_ for EiffelWebFramework

use READABLE_STRING_GENERAL instead of just STRING
This commit is contained in:
Jocelyn Fiat
2011-08-25 16:00:18 +02:00
parent 53ccaa3fde
commit c20600f281
24 changed files with 63 additions and 63 deletions

View File

@@ -1,11 +1,11 @@
note
description: "Summary description for {GW_BUFFERED_RESPONSE}."
description: "Summary description for {EWF_BUFFERED_RESPONSE}."
author: ""
date: "$Date$"
revision: "$Revision$"
class
GW_BUFFERED_RESPONSE
EWF_BUFFERED_RESPONSE
inherit
EWSGI_RESPONSE_BUFFER
@@ -130,7 +130,7 @@ feature -- Header output operation
write_header (a_status_code: INTEGER; a_headers: detachable ARRAY [TUPLE [key: STRING; value: STRING]])
-- Send headers with status `a_status', and headers from `a_headers'
local
h: GW_HEADER
h: EWF_HEADER
i,n: INTEGER
do
set_status_code (a_status_code)

View File

@@ -1,10 +1,10 @@
note
description: "Summary description for {GW_IN_MEMORY_RESPONSE}."
description: "Summary description for {EWF_IN_MEMORY_RESPONSE}."
date: "$Date$"
revision: "$Revision$"
class
GW_IN_MEMORY_RESPONSE
EWF_IN_MEMORY_RESPONSE
inherit
EWSGI_RESPONSE_BUFFER
@@ -23,7 +23,7 @@ feature {NONE} -- Initialization
response_buffer: EWSGI_RESPONSE_BUFFER
header: GW_HEADER
header: EWF_HEADER
body: STRING_8
@@ -93,7 +93,7 @@ feature -- Header output operation
write_header (a_status_code: INTEGER; a_headers: detachable ARRAY [TUPLE [key: STRING; value: STRING]])
-- Send headers with status `a_status', and headers from `a_headers'
local
h: GW_HEADER
h: EWF_HEADER
i,n: INTEGER
do
set_status_code (a_status_code)

View File

@@ -1,11 +1,11 @@
note
description: "Summary description for {GW_IN_MEMORY_RESPONSE_APPLICATION}."
description: "Summary description for {EWF_IN_MEMORY_RESPONSE_APPLICATION}."
author: ""
date: "$Date$"
revision: "$Revision$"
deferred class
GW_IN_MEMORY_RESPONSE_APPLICATION
EWF_IN_MEMORY_RESPONSE_APPLICATION
inherit
EWSGI_APPLICATION
@@ -41,9 +41,9 @@ feature -- Execute
feature {NONE} -- Implementation
new_response (req: EWSGI_REQUEST; a_res: EWSGI_RESPONSE_BUFFER): GW_IN_MEMORY_RESPONSE
new_response (req: EWSGI_REQUEST; a_res: EWSGI_RESPONSE_BUFFER): EWF_IN_MEMORY_RESPONSE
do
create {GW_IN_MEMORY_RESPONSE} Result.make (a_res)
create {EWF_IN_MEMORY_RESPONSE} Result.make (a_res)
end
note

View File

@@ -1103,7 +1103,7 @@ feature {NONE} -- Implementation
report_bad_request_error (a_message: detachable STRING)
-- Report error
local
e: GW_ERROR
e: EWF_ERROR
do
create e.make ({HTTP_STATUS_CODE}.bad_request)
if a_message /= Void then

View File

@@ -85,7 +85,7 @@ feature -- Header output operation
write_header (a_status_code: INTEGER; a_headers: detachable ARRAY [TUPLE [key: STRING; value: STRING]])
-- Send headers with status `a_status', and headers from `a_headers'
local
h: GW_HEADER
h: EWF_HEADER
i,n: INTEGER
do
set_status_code (a_status_code)

View File

@@ -1,12 +1,12 @@
note
description: "Summary description for {GW_ERROR}."
description: "Summary description for {EWF_ERROR}."
legal: "See notice at end of class."
status: "See notice at end of class."
date: "$Date$"
revision: "$Revision$"
class
GW_ERROR
EWF_ERROR
inherit
ERROR

View File

@@ -1,6 +1,6 @@
note
description: "[
Summary description for {GW_HEADER}.
Summary description for {EWF_HEADER}.
Note the return status code is not part of the HTTP header
]"
@@ -10,7 +10,7 @@ note
revision: "$Revision$"
class
GW_HEADER
EWF_HEADER
inherit
ANY