GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
CGI
+
Point of view
CGI_RESPONSE
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
CGI_HANDLER
CGI_RESPONSE
All features
class CGI
Summary
top
This class provides a simple executable framework for
CGI
implementation.
It is meant to be instanciated once, used in a one-shot process that dies quickly. Hence the light memory management.
See RFC 3875
Direct parents
Insert list:
CGI_IO
,
DISPOSABLE
,
SINGLETON
Overview
top
Creation features
Exported features
run
need_run
:
BOOLEAN
need_reply
:
BOOLEAN
done
:
BOOLEAN
auth_type
:
CGI_AUTH_TYPE
content_length
:
CGI_CONTENT_LENGTH
content_type
:
CGI_CONTENT_TYPE
gateway_interface
:
CGI_GATEWAY_INTERFACE
path_info
:
CGI_PATH_INFO
path_translated
:
CGI_PATH_TRANSLATED
query_string
:
CGI_QUERY_STRING
remote_info
:
CGI_REMOTE_INFO
request_method
:
CGI_REQUEST_METHOD
script_name
:
CGI_SCRIPT_NAME
server_info
:
CGI_SERVER_INFO
url
:
URL
header_pattern
:
REGULAR_EXPRESSION
^[0-9A-Za-z-]+$
header
(field:
ABSTRACT_STRING
):
FIXED_STRING
is_equal
(other: CGI):
BOOLEAN
Is
other
attached to an object considered equal to current object?
output
:
OUTPUT_STREAM
set_output
(a_output:
OUTPUT_STREAM
) assign
output
run
effective procedure
top
require
need_run
ensure
need_reply
or else
done
need_run
:
BOOLEAN
effective function
top
need_reply
:
BOOLEAN
effective function
top
done
:
BOOLEAN
effective function
top
auth_type
:
CGI_AUTH_TYPE
effective function
top
content_length
:
CGI_CONTENT_LENGTH
effective function
top
content_type
:
CGI_CONTENT_TYPE
effective function
top
gateway_interface
:
CGI_GATEWAY_INTERFACE
effective function
top
path_info
:
CGI_PATH_INFO
effective function
top
path_translated
:
CGI_PATH_TRANSLATED
effective function
top
query_string
:
CGI_QUERY_STRING
effective function
top
remote_info
:
CGI_REMOTE_INFO
effective function
top
request_method
:
CGI_REQUEST_METHOD
effective function
top
script_name
:
CGI_SCRIPT_NAME
effective function
top
server_info
:
CGI_SERVER_INFO
effective function
top
url
:
URL
effective function
top
header_pattern
:
REGULAR_EXPRESSION
once function
top
^[0-9A-Za-z-]+$
header
(field:
ABSTRACT_STRING
):
FIXED_STRING
effective function
top
require
header_pattern
.match(field)
is_equal
(other: CGI):
BOOLEAN
effective function
top
Is
other
attached to an object considered equal to current object?
require
other /= Void
ensure
commutative:
generating_type = other.generating_type implies Result = other.is_equal(Current)
output
:
OUTPUT_STREAM
effective function
top
set_output
(a_output:
OUTPUT_STREAM
) assign
output
effective procedure
top
require
a_output /= Void
ensure
output
= a_output