GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
HTTP_METHOD_HANDLER
+
Point of view
All features
ANY
HTTP_CONNECTION
All features
deferred class HTTP_METHOD_HANDLER
Summary
top
Direct parents
Insert list:
ANY
Known children
Inherit list:
HTTP_NO_METHOD_HANDLER
Class invariant
top
response_header
/= Void
response_body
/= Void
Overview
top
Features
{
HTTP_CONNECTION
}
code
:
INTEGER_32
the HTTP answer code
method
:
STRING
the method
begin_answer
prepare_answer
answer
(out_stream:
OUTPUT_STREAM
)
add_header
(header:
STRING
)
expect_body
:
BOOLEAN
add_body
(body:
STRING
)
prepare_ok
:
BOOLEAN
done
:
BOOLEAN
expect
(events:
EVENTS_SET
)
is_ready
(events:
EVENTS_SET
):
BOOLEAN
{}
uri
:
STRING
the source URI
version
:
STRING
the version
response_header
:
FAST_ARRAY
[
STRING
]
response_body
:
STRING
default_body
set_content_length
reason
:
STRING
newline
(out_stream:
OUTPUT_STREAM
)
output CRLF
code
:
INTEGER_32
writable attribute
{
HTTP_CONNECTION
}
top
the HTTP answer code
method
:
STRING
deferred function
{
HTTP_CONNECTION
}
top
the method
begin_answer
effective procedure
{
HTTP_CONNECTION
}
top
prepare_answer
deferred procedure
{
HTTP_CONNECTION
}
top
require
not
done
answer
(out_stream:
OUTPUT_STREAM
)
effective procedure
{
HTTP_CONNECTION
}
top
require
not
done
prepare_ok
add_header
(header:
STRING
)
deferred procedure
{
HTTP_CONNECTION
}
top
expect_body
:
BOOLEAN
deferred function
{
HTTP_CONNECTION
}
top
add_body
(body:
STRING
)
deferred procedure
{
HTTP_CONNECTION
}
top
require
expect_body
prepare_ok
:
BOOLEAN
deferred function
{
HTTP_CONNECTION
}
top
done
:
BOOLEAN
writable attribute
{
HTTP_CONNECTION
}
top
expect
(events:
EVENTS_SET
)
deferred procedure
{
HTTP_CONNECTION
}
top
is_ready
(events:
EVENTS_SET
):
BOOLEAN
deferred function
{
HTTP_CONNECTION
}
top
uri
:
STRING
writable attribute
{}
top
the source URI
version
:
STRING
writable attribute
{}
top
the version
response_header
:
FAST_ARRAY
[
STRING
]
writable attribute
{}
top
response_body
:
STRING
writable attribute
{}
top
default_body
effective procedure
{}
top
set_content_length
effective procedure
{}
top
reason
:
STRING
effective function
{}
top
newline
(out_stream:
OUTPUT_STREAM
)
effective procedure
{}
top
output CRLF