summaryrefslogtreecommitdiff
path: root/icespider/core/ihttpRequest.h
blob: 76361b6c79a1b2d11207cc4d7c8f277e2405aa80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef ICESPIDER_IHTTPREQUEST_H
#define ICESPIDER_IHTTPREQUEST_H

#include <IceUtil/Exception.h>
#include <IceUtil/Optional.h>
#include <Ice/Current.h>
#include <visibility.h>

namespace IceSpider {
	class DLL_PUBLIC IHttpRequest {
		public:
			Ice::Context getContext() const;
			template<typename T>
			T getURLParam(const std::string & key) const { (void)key; return T(); }
			template<typename T>
			T getBodyParam(const std::string & key) const { (void)key; return T(); }
			template<typename T>
			T getQueryStringParam(const std::string & key) const { (void)key; return T(); }
			template<typename T>
			T getHeaderParam(const std::string & key) const { (void)key; return T(); }
	};
}

#endif