+
Point of view
All features
class HTTP_NO_METHOD_HANDLER
Summary
Default method handler when no handler is returned by the factory. Just answers 501 (Not Implemented).
Direct parents
Inherit list: HTTP_METHOD_HANDLER
Class invariant
Overview
Creation features
{HTTP_CONNECTION}
Features
Initialisation
{HTTP_CONNECTION}
Implementation
{HTTP_CONNECTION}
Implementation
{HTTP_CONNECTION}
{}
make (a_uri: STRING, a_version: STRING)
effective procedure
Initialisation of Current using a_uri as uri and a_version as version
prepare_ok: BOOLEAN
is True
constant attribute
Precursor{HTTP_METHOD_HANDLER}
expect_body: BOOLEAN
is False
constant attribute
Precursor{HTTP_METHOD_HANDLER}
method: STRING
is "UNKNOWN"
constant attribute
Precursor{HTTP_METHOD_HANDLER}
add_header (header: STRING)
effective procedure
Precursor{HTTP_METHOD_HANDLER}
add_body (body: STRING)
effective procedure
Precursor{HTTP_METHOD_HANDLER}
require
  • expect_body
prepare_answer
effective procedure
Precursor{HTTP_METHOD_HANDLER}
require
  • not done
expect (events: EVENTS_SET)
effective procedure
Precursor{HTTP_METHOD_HANDLER}
is_ready (events: EVENTS_SET): BOOLEAN
effective function
Precursor{HTTP_METHOD_HANDLER}
code: INTEGER_32
writable attribute
the HTTP answer code
begin_answer
effective procedure
Launched before the answer preparation
answer (a_out_stream: OUTPUT_STREAM)
effective procedure
Send the request answer to the a_out_stream
require
done: BOOLEAN
writable attribute
True when the answer has been send
uri: STRING
writable attribute
{}
the source URI
version: STRING
writable attribute
{}
the http version (1.0, 1.1, etc.)
response_header: FAST_ARRAY[STRING]
writable attribute
{}
Every headers of the request
response_body: STRING
writable attribute
{}
The complete body of the request
default_body
effective procedure
{}
A defaut answer's body
set_content_length
effective procedure
{}
Set the lenght of the answer's body
reason: STRING
effective function
{}
A text representation of the answer code
newline (a_out_stream: OUTPUT_STREAM)
effective procedure
{}
output CRLF