GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
CGI_RESPONSE_DOCUMENT
+
Point of view
CGI
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
CGI
CGI_HANDLER
All features
class CGI_RESPONSE_DOCUMENT
Summary
top
CGI
response implementation:
CGI
-document (the most used)
Direct parents
Inherit list:
CGI_RESPONSE
Insert list:
CGI_RESPONSE_BODY
,
CGI_RESPONSE_FIELDS
Overview
top
Creation features
set_status_and_error
(a_status:
INTEGER_32
, a_error:
ABSTRACT_STRING
)
set_error
(a_error:
ABSTRACT_STRING
)
set_content_type
(a_content_type:
ABSTRACT_STRING
)
set_status
(a_status:
INTEGER_32
)
Exported features
set_error
(a_error:
ABSTRACT_STRING
)
set_status_and_error
(a_status:
INTEGER_32
, a_error:
ABSTRACT_STRING
)
set_content_type
(a_content_type:
ABSTRACT_STRING
)
set_status
(a_status:
INTEGER_32
)
is_valid_status
(a_status:
INTEGER_32
):
BOOLEAN
status_reason
:
FIXED_STRING
flush
(a_cgi:
CGI
, a_output:
OUTPUT_STREAM
):
BOOLEAN
out_in_tagged_out_memory
Append terse printable representation of current object in
tagged_out_memory
.
is_valid_field
(a_field:
ABSTRACT_STRING
):
BOOLEAN
reset_field
(a_field:
ABSTRACT_STRING
)
set_field
(a_field:
ABSTRACT_STRING
, a_value:
ABSTRACT_STRING
)
checks
is_token
(value:
ABSTRACT_STRING
):
BOOLEAN
is_separators
(value:
ABSTRACT_STRING
):
BOOLEAN
is_valid_path
(a_path:
ABSTRACT_STRING
):
BOOLEAN
constants
crlf
:
FIXED_STRING
CRLF, the standard Web end-of-line
set_error
(a_error:
ABSTRACT_STRING
)
effective procedure
top
require
a_error /= Void
set_status_and_error
(a_status:
INTEGER_32
, a_error:
ABSTRACT_STRING
)
effective procedure
top
require
is_valid_status
(a_status)
a_status >= 500
a_error /= Void
set_content_type
(a_content_type:
ABSTRACT_STRING
)
effective procedure
top
require
a_content_type /= Void
set_status
(a_status:
INTEGER_32
)
effective procedure
top
require
is_valid_status
(a_status)
is_valid_status
(a_status:
INTEGER_32
):
BOOLEAN
effective function
top
status_reason
:
FIXED_STRING
effective function
top
flush
(a_cgi:
CGI
, a_output:
OUTPUT_STREAM
):
BOOLEAN
effective function
top
out_in_tagged_out_memory
effective procedure
top
Append terse printable representation of current object in
tagged_out_memory
.
is_valid_field
(a_field:
ABSTRACT_STRING
):
BOOLEAN
effective function
top
reset_field
(a_field:
ABSTRACT_STRING
)
effective procedure
top
require
is_valid_field
(a_field)
set_field
(a_field:
ABSTRACT_STRING
, a_value:
ABSTRACT_STRING
)
effective procedure
top
require
is_valid_field
(a_field)
a_value.occurrences('%N') = 0
is_token
(value:
ABSTRACT_STRING
):
BOOLEAN
effective function
top
require
value /= Void
is_separators
(value:
ABSTRACT_STRING
):
BOOLEAN
effective function
top
require
value /= Void
is_valid_path
(a_path:
ABSTRACT_STRING
):
BOOLEAN
effective function
top
crlf
:
FIXED_STRING
effective function
top
CRLF, the standard Web end-of-line