+
Point of view
All features
class CGI_RESPONSE_CLIENT_REDIRECT
Summary
CGI response implementation: client redirect
Direct parents
Inherit list: CGI_RESPONSE
Insert list: CGI_RESPONSE_FIELDS, CGI_UTILS
Known children
Inherit list: CGI_RESPONSE_CLIENT_REDIRECT_WITH_DOCUMENT
Class invariant
Overview
writable attribute
fragment: FIXED_STRING
writable attribute
set_redirect (a_path: ABSTRACT_STRING, a_fragment: ABSTRACT_STRING)
effective procedure
require ensure
  • path = a_path.intern
  • a_fragment = Void implies fragment = Void
  • a_fragment /= Void implies fragment = a_fragment.intern
flush (a_cgi: CGI, a_output: OUTPUT_STREAM): BOOLEAN
effective function
{CGI}
out_in_tagged_out_memory
effective procedure
{ANY}
Append terse printable representation of current object in tagged_out_memory.
require
    • locked: tagged_out_locked
    • locked: tagged_out_locked
ensure
  • still_locked: tagged_out_locked
  • not_cleared: tagged_out_memory.count >= old tagged_out_memory.count
  • append_only: old tagged_out_memory.twin.is_equal(tagged_out_memory.substring(1, old tagged_out_memory.count))
effective function
is_valid_field (a_field: ABSTRACT_STRING): BOOLEAN
effective function
reset_field (a_field: ABSTRACT_STRING)
effective procedure
require
set_field (a_field: ABSTRACT_STRING, a_value: ABSTRACT_STRING)
effective procedure
require ensure
flush_fields (a_output: OUTPUT_STREAM)
effective procedure
{}
field_pattern: REGULAR_EXPRESSION
once function
{}
^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$
value_count (a_field: ABSTRACT_STRING): INTEGER_32
effective function
{}
require
put_value (a_values: TRAVERSABLE[FIXED_STRING], a_output: OUTPUT_STREAM)
effective procedure
{}
writable attribute
{}
writable attribute
{}
is_token (value: ABSTRACT_STRING): BOOLEAN
effective function
{ANY}
require
  • value /= Void
is_separators (value: ABSTRACT_STRING): BOOLEAN
effective function
{ANY}
require
  • value /= Void
is_valid_path (a_path: ABSTRACT_STRING): BOOLEAN
effective function
{ANY}
effective function
{ANY}
CRLF, the standard Web end-of-line
is_separator (char: CHARACTER): BOOLEAN
effective function
{}