class HTTP_CONNECTION
Summary
Class invariant
Overview
creation features
features
  • continue
    Continue to do the job The work to do has to be small work and non blocking, it will continue on next call
The HTTP protocol (see RFC 2616)
method handlers reuse
  • recycle
    Do whatever needs to be done to free resources or recycle other objects when recycling this one
  • dispose
    Action to be executed just before garbage collection reclaims an object.
Maximum:
Minimum:
Bits:
continue
effective procedure
Continue to do the job The work to do has to be small work and non blocking, it will continue on next call
set_server (a_server: HTTP_SERVER)
effective procedure
effective procedure
writable attribute
The first argument is the method, the second is the URI, the third is the version; the fourth is the output stream to the client socket
make (a_method_handler_factory: FUNCTION[TUPLE 4[STRING, STRING, STRING, OUTPUT_STREAM], HTTP_METHOD_HANDLER])
effective procedure
server: HTTP_SERVER
writable attribute
handle_disconnect (a_io: SOCKET_INPUT_OUTPUT_STREAM)
effective procedure
writable attribute
once function
method_handler: HTTP_METHOD_HANDLER
writable attribute
request_line: STRING
writable attribute
a_request_line (line: STRING)
effective procedure
a_header (line: STRING)
effective procedure
a_body (line: STRING)
effective procedure
once function
no_method_handlers: FAST_ARRAY[HTTP_NO_METHOD_HANDLER]
once function
method_handler_ (method: STRING, uri: STRING, version: STRING): HTTP_METHOD_HANDLER
effective function
free_method_handler (a_method_handler: HTTP_METHOD_HANDLER)
effective procedure
recycle
effective procedure
Do whatever needs to be done to free resources or recycle other objects when recycling this one
dispose
effective procedure
Action to be executed just before garbage collection reclaims an object.
prepare (events: EVENTS_SET)
effective procedure
use ready to descibe condition that make this job ready to continue.
is_ready (events: EVENTS_SET): BOOLEAN
effective function
check if this job is ready to continue his work
done: BOOLEAN
effective function
done returns True when the job is finished.
restart
effective procedure
Configure the job like the initial state.
writable attribute
priority: INTEGER_32
writable attribute
Never change priority after job inserted in loop_item.
infix "<" (other: JOB): BOOLEAN
effective function
Maximum_character_code: INTEGER_16
Largest supported code for CHARACTER values.
Maximum_integer_8: INTEGER_8
constant attribute
Largest supported value of type INTEGER_8.
Maximum_integer_16: INTEGER_16
constant attribute
Largest supported value of type INTEGER_16.
Maximum_integer: INTEGER_32
constant attribute
Largest supported value of type INTEGER/INTEGER_32.
Maximum_integer_32: INTEGER_32
constant attribute
Largest supported value of type INTEGER/INTEGER_32.
Maximum_integer_64: INTEGER_64
constant attribute
Largest supported value of type INTEGER_64.
Maximum_real_32: REAL_32
constant attribute
Largest non-special (no NaNs nor infinity) supported value of type REAL_32.
Maximum_real: REAL_64
Largest non-special (no NaNs nor infinity) supported value of type REAL.
Maximum_real_64: REAL_64
Largest non-special (no NaNs nor infinity) supported value of type REAL.
Maximum_real_80: REAL_EXTENDED
Largest supported value of type REAL_80.
Minimum_character_code: INTEGER_16
Smallest supported code for CHARACTER values.
Minimum_integer_8: INTEGER_8
constant attribute
Smallest supported value of type INTEGER_8.
Minimum_integer_16: INTEGER_16
constant attribute
Smallest supported value of type INTEGER_16.
Minimum_integer: INTEGER_32
constant attribute
Smallest supported value of type INTEGER/INTEGER_32.
Minimum_integer_32: INTEGER_32
constant attribute
Smallest supported value of type INTEGER/INTEGER_32.
Minimum_integer_64: INTEGER_64
constant attribute
Smallest supported value of type INTEGER_64.
Minimum_real_32: REAL_32
constant attribute
Smallest non-special (no NaNs nor infinity) supported value of type REAL_32.
Minimum_real: REAL_64
Smallest non-special (no NaNs nor infinity) supported value of type REAL.
Minimum_real_64: REAL_64
Smallest non-special (no NaNs nor infinity) supported value of type REAL.
Minimum_real_80: REAL_64
Smallest supported value of type REAL_80.
Boolean_bits: INTEGER_32
Number of bits in a value of type BOOLEAN.
Character_bits: INTEGER_32
Number of bits in a value of type CHARACTER.
Integer_bits: INTEGER_32
Number of bits in a value of type INTEGER.
Real_bits: INTEGER_32
constant attribute
Number of bits in a value of type REAL.
Pointer_bits: INTEGER_32
Number of bits in a value of type POINTER.