indexing
description: "Access to information provided by a user through an HTML form. This class may be used as ancestor by classes needing its facilities."
legal: "See notice at end of class."
status: "See notice at end of class."
date: "$Date: 2006-01-22 18:25:44 -0800 (Sun, 22 Jan 2006) $"
revision: "$Revision: 56675 $"
deferred class interface
CGI_INTERFACE
feature
make
feature
button_value (field_name: STRING_8; overriding_value: STRING_8): BOOLEAN
CGI_FORMS
require CGI_FORMS
field_not_void: field_name /= Void
field_exists: field_defined (field_name)
generating_type: STRING_8
ANY
generator: STRING_8
ANY
menu_values (field_name: STRING_8): LINKED_LIST [STRING_8]
CGI_FORMS
require CGI_FORMS
field_not_void: field_name /= Void
field_exists: field_defined (field_name)
ensure CGI_FORMS
value_exists: Result /= Void
output: STDOUT
CGI_IN_AND_OUT
response_header: CGI_RESPONSE_HEADER
CGI_IN_AND_OUT
stdin: STDIN
CGI_IN_AND_OUT
text_field_value (field_name: STRING_8): STRING_8
CGI_FORMS
require CGI_FORMS
field_not_void: field_name /= Void
field_exists: field_defined (field_name)
ensure CGI_FORMS
value_exists: Result /= Void
feature
frozen deep_equal (some: ANY; other: like arg #1): BOOLEAN
`some'`other'
ANY
ensure ANY
shallow_implies_deep: standard_equal (some, other) implies Result
both_or_none_void: (some = Void) implies (Result = (other = Void))
same_type: (Result and (some /= Void)) implies some.same_type (other)
symmetric: Result implies deep_equal (other, some)
frozen equal (some: ANY; other: like arg #1): BOOLEAN
`some'`other'
ANY
ensure ANY
definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.is_equal (other))
is_equal (other: like Current): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
ensure ANY
symmetric: Result implies other.is_equal (Current)
consistent: standard_is_equal (other) implies Result
frozen standard_equal (some: ANY; other: like arg #1): BOOLEAN
`some'`other'
ANY
ensure ANY
definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.standard_is_equal (other))
frozen standard_is_equal (other: like Current): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
ensure ANY
same_type: Result implies same_type (other)
symmetric: Result implies other.standard_is_equal (Current)
feature
conforms_to (other: ANY): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
same_type (other: ANY): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
ensure ANY
definition: Result = (conforms_to (other) and other.conforms_to (Current))
feature
copy (other: like Current)
`other'
ANY
require ANY
other_not_void: other /= Void
type_identity: same_type (other)
ensure ANY
is_equal: is_equal (other)
frozen deep_copy (other: like Current)
copy`other'deep_twin
ANY
require ANY
other_not_void: other /= Void
ensure ANY
deep_equal: deep_equal (Current, other)
frozen deep_twin: like Current
ANY
ensure ANY
deep_equal: deep_equal (Current, Result)
frozen standard_copy (other: like Current)
`other'
ANY
require ANY
other_not_void: other /= Void
type_identity: same_type (other)
ensure ANY
is_standard_equal: standard_is_equal (other)
frozen standard_twin: like Current
`other'
ANY
ensure ANY
standard_twin_not_void: Result /= Void
equal: standard_equal (Result, Current)
frozen twin: like Current
`Current'
twincopycopy
ANY
ensure ANY
twin_not_void: Result /= Void
is_equal: Result.is_equal (Current)
feature
frozen default: like Current
ANY
frozen default_pointer: POINTER
`POINTER'
`p'default
`p'`POINTER'
ANY
default_rescue
ANY
frozen do_nothing
ANY
feature
fields: ARRAY [STRING_8]
CGI_FORMS
value_count (field_name: STRING_8): INTEGER_32
CGI_FORMS
require CGI_FORMS
field_not_void: field_name /= Void
field_exists: field_defined (field_name)
ensure CGI_FORMS
valid_count: Result >= 0
value_list (field_name: STRING_8): LINKED_LIST [STRING_8]
CGI_FORMS
require CGI_FORMS
field_not_void: field_name /= Void
field_exists: field_defined (field_name)
ensure CGI_FORMS
valid_count: Result.count = value_count (field_name)
feature
handle_exception
CGI_ERROR_HANDLING
raise_error (msg: STRING_8)
CGI_ERROR_HANDLING
require CGI_ERROR_HANDLING
message_exists: msg /= Void
ensure CGI_ERROR_HANDLING
exists: raised_error /= Void
feature
cookies: HASH_TABLE [STRING_8, STRING_8]
CGI_ENVIRONMENT
feature
set_environment_variable (variable, val: STRING_8)
`variable'`val'
CGI_ENVIRONMENT
require CGI_ENVIRONMENT
valid_variable: variable /= Void and then variable.count > 0
valid_value: val /= Void
feature
http_accept: STRING_8
CGI_ENVIRONMENT
http_user_agent: STRING_8
CGI_ENVIRONMENT
feature
execute
set_environment
feature
gateway_interface: STRING_8
CGI_ENVIRONMENT
server_name: STRING_8
CGI_ENVIRONMENT
server_software: STRING_8
CGI_ENVIRONMENT
feature
io: STD_FILES
ANY
out: STRING_8
ANYtagged_out
ANY
print (some: ANY)
`some'
ANY
frozen tagged_out: STRING_8
ANYout
ANY
feature
operating_environment: OPERATING_ENVIRONMENT
ANY
feature
field_defined (field_name: STRING_8): BOOLEAN
`field_name'
CGI_FORMS
require CGI_FORMS
filed_name_not_void: field_name /= Void
feature
auth_type: STRING_8
CGI_ENVIRONMENT
content_length: STRING_8
CGI_ENVIRONMENT
content_type: STRING_8
CGI_ENVIRONMENT
path_info: STRING_8
CGI_ENVIRONMENT
path_translated: STRING_8
CGI_ENVIRONMENT
query_string: STRING_8
CGI_ENVIRONMENT
remote_addr: STRING_8
CGI_ENVIRONMENT
remote_host: STRING_8
CGI_ENVIRONMENT
remote_ident: STRING_8
CGI_ENVIRONMENT
remote_user: STRING_8
CGI_ENVIRONMENT
request_method: STRING_8
CGI_ENVIRONMENT
script_name: STRING_8
CGI_ENVIRONMENT
server_port: STRING_8
CGI_ENVIRONMENT
server_protocol: STRING_8
CGI_ENVIRONMENT
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
indexing
copyright: "Copyright (c) 1984-2006, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
source: "[
Eiffel Software
356 Storke Road, Goleta, CA 93117 USA
Telephone 805-685-1006, Fax 805-685-6869
Website http://www.eiffel.com
Customer support http://support.eiffel.com
]"
end CGI_INTERFACE