Rudiments: /home/dmuse/temp/rudiments/include/rudiments/urlhttprequest.h Source File

Rudiments

urlhttprequest.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information
3
4 #ifndef RUDIMENTS_URLHTTPREQUEST_H
5 #define RUDIMENTS_URLHTTPREQUEST_H
6
7 #include <rudiments/private/urlhttprequestincludes.h>
8
39 class RUDIMENTS_DLLSPEC urlhttprequest : public httprequest {
40 public:
41 urlhttprequest(httpserverapi *sapi);
42 virtual ~urlhttprequest();
43
44
45
49 void dumpVariables();
50
51
52
57 const char *application();
58
63 const char *applicationPath();
64
69 const char *applicationUrl();
70
75 const char *program();
76
81 const char *programPath();
82
87 const char *programUrl();
88
93 const char *skin();
94
99 const char *skinPath();
100
105 const char *skinUrl();
106
111 const char *module();
112
117 const char *modulePath();
118
123 const char *moduleUrl();
124
129 const char *page();
130
135 const char *pagePath();
136
141 const char *pageUrl();
142
144 uint64_t getUrlVariableCount();
145
147 const char * const *getUrlVariables();
148
151 const char * const *getUrlValues();
152
153
154
156 const char *getSkinVariable(const char *name);
157
159 uint64_t getSkinVariableCount();
160
164 const char * const *getSkinVariables();
165
168 const char * const *getSkinValues();
169
173 bool setSkinVariable(const char *name, const char *value);
174
175
176
185 virtual bool methodAllowed();
186
195 virtual bool ipAllowed();
196
205 virtual bool refererAllowed();
206
207
208 #include <rudiments/private/urlhttprequest.h>
209 };
210
211
212 #endif
httprequest
Definition: httprequest.h:12
httpserverapi
Definition: httpserverapi.h:9
urlhttprequest
Definition: urlhttprequest.h:39
urlhttprequest::modulePath
const char * modulePath()
urlhttprequest::skinPath
const char * skinPath()
urlhttprequest::getUrlVariables
const char *const * getUrlVariables()
urlhttprequest::applicationUrl
const char * applicationUrl()
urlhttprequest::module
const char * module()
urlhttprequest::getSkinValues
const char *const * getSkinValues()
urlhttprequest::applicationPath
const char * applicationPath()
urlhttprequest::refererAllowed
virtual bool refererAllowed()
urlhttprequest::getUrlValues
const char *const * getUrlValues()
urlhttprequest::setSkinVariable
bool setSkinVariable(const char *name, const char *value)
urlhttprequest::skinUrl
const char * skinUrl()
urlhttprequest::getSkinVariable
const char * getSkinVariable(const char *name)
urlhttprequest::pageUrl
const char * pageUrl()
urlhttprequest::programPath
const char * programPath()
urlhttprequest::getSkinVariables
const char *const * getSkinVariables()
urlhttprequest::methodAllowed
virtual bool methodAllowed()
urlhttprequest::skin
const char * skin()
urlhttprequest::getSkinVariableCount
uint64_t getSkinVariableCount()
urlhttprequest::moduleUrl
const char * moduleUrl()
urlhttprequest::application
const char * application()
urlhttprequest::programUrl
const char * programUrl()
urlhttprequest::page
const char * page()
urlhttprequest::dumpVariables
void dumpVariables()
urlhttprequest::pagePath
const char * pagePath()
urlhttprequest::program
const char * program()
urlhttprequest::getUrlVariableCount
uint64_t getUrlVariableCount()
urlhttprequest::ipAllowed
virtual bool ipAllowed()