blob: 3a51d9f886c4412a2eff5608ea73d51fe6e06e89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef __DOMAIN_H__
#define __DOMAIN_H__
#include <BRegex.h>
#include <HttpServ.h>
class Domain : public Base {
public:
Domain(const Regex &);
virtual ~Domain();
static Domain * find_domain(const String & url);
void OnTop();
virtual void Do(const HttpRequest &, HttpResponse *) throw (GeneralException) = 0;
private:
Domain * find_domain_r(const String & url);
static Domain * head;
Domain * next, * prev;
Regex pattern;
};
#endif
|