|
| | Webserver () |
| |
| virtual | ~Webserver () |
| |
| virtual int | authenticate (const String &username, const String &password, Request &req) |
| |
| void | bind (const String &adr, int port) |
| |
| void | enableSSL (bool enable) |
| |
| virtual String | getDenyMessage () |
| |
| void | loadCertificate (const String &certificate, const String &privatekey, const String &password) |
| |
| | PPL7EXCEPTION (CouldNotBindToSocket, Exception) |
| |
| | PPL7EXCEPTION (InvalidSSLCertificate, Exception) |
| |
| | PPL7EXCEPTION (NoAddressSpecified, Exception) |
| |
| | PPL7EXCEPTION (CouldNotStartDaemon, Exception) |
| |
| | PPL7EXCEPTION (SSLInitializationFailed, Exception) |
| |
| int | queueBasicAuthFailedResponse (const Request &req) |
| |
| int | queueResponse (const Request &req, const String &text, int httpStatus=200) |
| |
| virtual int | request (Request &req) |
| |
| void | requireBasicAuthentication (bool enable, const String &realm) |
| |
| bool | sslEnabled () const |
| |
| void | start () |
| |
| void | stop () |
| |
| bool | useBasicAuthentication () const |
| |
| ppl7::Webserver::Webserver |
( |
| ) |
|
| virtual ppl7::Webserver::~Webserver |
( |
| ) |
|
|
virtual |
| virtual int ppl7::Webserver::authenticate |
( |
const String & |
username, |
|
|
const String & |
password, |
|
|
Request & |
req |
|
) |
| |
|
virtual |
| void ppl7::Webserver::bind |
( |
const String & |
adr, |
|
|
int |
port |
|
) |
| |
| void ppl7::Webserver::enableSSL |
( |
bool |
enable | ) |
|
| virtual String ppl7::Webserver::getDenyMessage |
( |
| ) |
|
|
virtual |
| void ppl7::Webserver::loadCertificate |
( |
const String & |
certificate, |
|
|
const String & |
privatekey, |
|
|
const String & |
password |
|
) |
| |
| ppl7::Webserver::PPL7EXCEPTION |
( |
CouldNotBindToSocket |
, |
|
|
Exception |
|
|
) |
| |
| ppl7::Webserver::PPL7EXCEPTION |
( |
InvalidSSLCertificate |
, |
|
|
Exception |
|
|
) |
| |
| ppl7::Webserver::PPL7EXCEPTION |
( |
NoAddressSpecified |
, |
|
|
Exception |
|
|
) |
| |
| ppl7::Webserver::PPL7EXCEPTION |
( |
CouldNotStartDaemon |
, |
|
|
Exception |
|
|
) |
| |
| ppl7::Webserver::PPL7EXCEPTION |
( |
SSLInitializationFailed |
, |
|
|
Exception |
|
|
) |
| |
| int ppl7::Webserver::queueBasicAuthFailedResponse |
( |
const Request & |
req | ) |
|
| int ppl7::Webserver::queueResponse |
( |
const Request & |
req, |
|
|
const String & |
text, |
|
|
int |
httpStatus = 200 |
|
) |
| |
| virtual int ppl7::Webserver::request |
( |
Request & |
req | ) |
|
|
virtual |
| void ppl7::Webserver::requireBasicAuthentication |
( |
bool |
enable, |
|
|
const String & |
realm |
|
) |
| |
| bool ppl7::Webserver::sslEnabled |
( |
| ) |
const |
| void ppl7::Webserver::start |
( |
| ) |
|
| void ppl7::Webserver::stop |
( |
| ) |
|
| bool ppl7::Webserver::useBasicAuthentication |
( |
| ) |
const |
| bool ppl7::Webserver::basicAuthentication |
|
private |
| void* ppl7::Webserver::daemon |
|
private |
| int ppl7::Webserver::port |
|
private |
| String ppl7::Webserver::sslcert |
|
private |
| bool ppl7::Webserver::SSLEnabled |
|
private |
| String ppl7::Webserver::sslkey |
|
private |
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
- /jenkins/jobs/clang_ppl7/workspace/include/ppl7-inet.h