GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
HTTP_NO_METHOD_HANDLER
+
Point of view
HTTP_CONNECTION
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
HTTP_CONNECTION
All features
class HTTP_NO_METHOD_HANDLER
Summary
top
Default method handler when no handler is returned by the factory. Just answers 501 (Not Implemented).
Direct parents
Inherit list:
HTTP_METHOD_HANDLER
Overview
top
Creation features
make
(a_uri:
STRING
, a_version:
STRING
)
Exported features
prepare_ok
:
BOOLEAN
expect_body
:
BOOLEAN
method
:
STRING
the method
add_header
(header:
STRING
)
add_body
(body:
STRING
)
make
(a_uri:
STRING
, a_version:
STRING
)
prepare_answer
expect
(events:
EVENTS_SET
)
is_ready
(events:
EVENTS_SET
):
BOOLEAN
code
:
INTEGER_32
the HTTP answer code
begin_answer
answer
(out_stream:
OUTPUT_STREAM
)
done
:
BOOLEAN
prepare_ok
:
BOOLEAN
is True
constant attribute
top
expect_body
:
BOOLEAN
is False
constant attribute
top
method
:
STRING
is "UNKNOWN"
constant attribute
top
the method
add_header
(header:
STRING
)
effective procedure
top
add_body
(body:
STRING
)
effective procedure
top
require
expect_body
make
(a_uri:
STRING
, a_version:
STRING
)
effective procedure
top
prepare_answer
effective procedure
top
require
not done
expect
(events:
EVENTS_SET
)
effective procedure
top
is_ready
(events:
EVENTS_SET
):
BOOLEAN
effective function
top
code
:
INTEGER_32
writable attribute
top
the HTTP answer code
begin_answer
effective procedure
top
answer
(out_stream:
OUTPUT_STREAM
)
effective procedure
top
require
not
done
prepare_ok
done
:
BOOLEAN
writable attribute
top