This repository has been archived by the owner on Sep 21, 2020. It is now read-only.
forked from jocelyn-old/EiffelWebReloaded
-
Notifications
You must be signed in to change notification settings - Fork 0
Httpd library
jocelyn edited this page Jun 22, 2011
·
13 revisions
The httpd library ([../tree/master/library/server/httpd]) contains the main interface to build a web server application, the implementation is provided by the connector classes.
Among other you will find the following core classes which are implemented by the Httpd connector libraries.
-
HTTPD_APPLICATION (deferred) : the main class to implement in order to address httpd request, implemented by one of the connectors
- see [../tree/master/library/server/httpd/interface/httpd_application.e]
-
HTTPD_SERVER_INPUT (deferred) : common interface to access input data, implemented by the connectors
- see [../tree/master/library/server/httpd/interface/stream/httpd_server_input.e]
-
HTTPD_SERVER_OUTPUT (deferred) : common interface to output message, implemented by the connectors
- see [../tree/master/library/server/httpd/interface/stream/httpd_server_output.e]
-
HTTPD_REQUEST_CONTEXT : this class will be instantiated on each request and will contain access to the environment variable, and the various request data (GET, POST fields, uploaded files, cookies, ...). The object really "carries" the request information, but also provide useful utility features to manipulate uploaded files, or compute relative url based on the script name ...
- see [../tree/master/library/server/httpd/interface/httpd_request_context.e]
-
HTTPD_AUTHENTICATION (deferred) : this provide the interface for authentication system.
- see [../tree/master/library/server/httpd/auth/httpd_authentication.e]
- for instance you can use an implementation of class HTTPD_AUTHORIZATION_AUTHENTICATION ([../tree/master/library/server/httpd/auth/httpd_authorization_authentication.e]), which is implementing the basic HTTP authorization authentication.