DCL
3.7.4
Loading...
Searching...
No Matches
ServletMain.h
Go to the documentation of this file.
1
#ifndef __DCL_HS_SERVLET_MAIN_H__
2
#define __DCL_HS_SERVLET_MAIN_H__ 20050926
3
4
#ifndef __DCL_LIST_H__
5
#include <
dcl/List.h
>
6
#endif
7
#ifndef __DCL_HASH_MAP_H__
8
#include <
dcl/HashMap.h
>
9
#endif
10
#ifndef __DCL_SQL_H__
11
#include <
dcl/SQL.h
>
12
#endif
13
#ifndef __DCL_HTTP_SERVLET_EX_H__
14
#include <
dcl/HttpServletEx.h
>
15
#endif
16
17
__DCL_BEGIN_NAMESPACE
18
19
class
IniFile
;
20
struct
SiteContext
21
{
22
String
strSiteID
;
23
size_t
uPostMaxLength
;
24
25
String
strDbDriver
;
26
String
strDbConnect
;
27
28
int
nErrorPageID
;
29
int
nPermDeniedPageID
;
30
31
String
strSkinDir
;
32
String
strAttachmentDir
;
33
String
strThumbnailDir
;
34
35
SiteContext
();
36
const
SiteContext
&
operator =
(
const
SiteContext
& src);
37
};
38
39
class
FastPageServlet
:
public
HttpServletEx
40
{
41
DECLARE_CLASSINFO
(
FastPageServlet
)
42
public
:
43
FastPageServlet
();
44
45
protected
:
46
virtual
void
onInitialize
();
47
__DCL_THROWS1
(
Exception
*);
48
virtual
void
onCleanup
();
49
__DCL_THROWS1
(
Exception
*);
50
virtual
void
onService
(
HttpServletContextEx
& ctx);
51
__DCL_THROWS1
(
Exception
*);
52
53
protected
:
54
PointerList
__listSiteCtx
;
55
StringToPointerMap
__mapSiteCtx
;
56
};
57
58
__DCL_END_NAMESPACE
59
60
#endif
// __DCL_HS_SERVLET_MAIN_H__
HashMap.h
HttpServletEx.h
List.h
DECLARE_CLASSINFO
#define DECLARE_CLASSINFO(class_name)
Definition
Object.h:227
SQL.h
Exception
Definition
Exception.h:26
FastPageServlet
Definition
ServletMain.h:40
FastPageServlet::__DCL_THROWS1
__DCL_THROWS1(Exception *)
FastPageServlet::onCleanup
virtual void onCleanup()
Definition
ServletMain.cpp:190
FastPageServlet::__mapSiteCtx
StringToPointerMap __mapSiteCtx
Definition
ServletMain.h:55
FastPageServlet::onInitialize
virtual void onInitialize()
Definition
ServletMain.cpp:82
FastPageServlet::__listSiteCtx
PointerList __listSiteCtx
Definition
ServletMain.h:54
FastPageServlet::onService
virtual void onService(HttpServletContextEx &ctx)
Definition
ServletMain.cpp:203
HttpServletContextEx
Definition
HttpServletEx.h:22
HttpServletEx
Definition
HttpServletEx.h:50
IniFile
Definition
IniFile.h:20
SiteContext::SiteContext
SiteContext()
Definition
ServletMain.cpp:50
SiteContext::nErrorPageID
int nErrorPageID
Definition
ServletMain.h:28
SiteContext::strSkinDir
String strSkinDir
Definition
ServletMain.h:31
SiteContext::strAttachmentDir
String strAttachmentDir
Definition
ServletMain.h:32
SiteContext::uPostMaxLength
size_t uPostMaxLength
Definition
ServletMain.h:23
SiteContext::strDbConnect
String strDbConnect
Definition
ServletMain.h:26
SiteContext::strThumbnailDir
String strThumbnailDir
Definition
ServletMain.h:33
SiteContext::strDbDriver
String strDbDriver
Definition
ServletMain.h:25
SiteContext::operator=
const SiteContext & operator=(const SiteContext &src)
Definition
ServletMain.cpp:57
SiteContext::strSiteID
String strSiteID
Definition
ServletMain.h:22
SiteContext::nPermDeniedPageID
int nPermDeniedPageID
Definition
ServletMain.h:29
hse
HSAFastPage
ServletMain.h
Generated by
1.14.0