class HTTP_GET_HANDLER

All features

Direct parents

conformant parents

HTTP_METHOD_HANDLER

Summary

creation features

exported features

Details

make (a_uri: STRING, a_version: STRING, a_out: OUTPUT_STREAM)
is_ready: BOOLEAN
add_header (header: STRING)
add_body (body: STRING)
file: TEXT_FILE_READ
tfr: TEXT_FILE_READ
method: STRING

the method

make (a_uri: STRING, a_version: STRING, a_out: OUTPUT_STREAM)
prepare_answer
fill_body (f: TEXT_FILE_READ)
answer

require

  • is_ready

code: INTEGER

the HTTP answer code

out_stream: OUTPUT_STREAM

the stream where the HTTP answer is written

uri: STRING

the source URI

version: STRING

the version

response_header: FAST_ARRAY [E_][STRING]
response_body: STRING
default_body
set_content_length
reason: STRING
newline

output CRLF

Class invariant