EHS Embedded HTTP Server
1.5.1.0
contentdisposition.h
1
/* $Id: contentdisposition.h 30 2010-06-05 19:08:00Z felfert $
2
*
3
* EHS is a library for embedding HTTP(S) support into a C++ application
4
*
5
* Copyright (C) 2004 Zachary J. Hansen
6
*
7
* Code cleanup, new features and bugfixes: Copyright (C) 2010 Fritz Elfert
8
*
9
* This library is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU Lesser General Public
11
* License version 2.1 as published by the Free Software Foundation;
12
*
13
* This library is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
17
*
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with this library; if not, write to the Free Software
20
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
*
22
* This can be found in the 'COPYING' file.
23
*
24
*/
25
26
#ifndef CONTENTDISPOSITION_H
27
#define CONTENTDISPOSITION_H
28
29
#include <string>
30
#include <ehstypes.h>
31
36
class
ContentDisposition
{
37
38
public
:
39
43
ContentDisposition
() :
44
m_oContentDispositionHeaders
(StringCaseMap()),
45
m_sContentDisposition
(
""
)
46
{
47
}
48
50
~ContentDisposition
( ) {
51
}
52
54
StringCaseMap
m_oContentDispositionHeaders
;
55
57
std::string
m_sContentDisposition
;
58
};
59
60
#endif
// CONTENTDISPOSITION_H
ContentDisposition
This class stores the content disposition of a subbody.
Definition:
contentdisposition.h:36
ContentDisposition::~ContentDisposition
~ContentDisposition()
Destructor.
Definition:
contentdisposition.h:50
ContentDisposition::ContentDisposition
ContentDisposition()
Default constructor.
Definition:
contentdisposition.h:43
ContentDisposition::m_sContentDisposition
std::string m_sContentDisposition
Content disposition string for this object.
Definition:
contentdisposition.h:57
ContentDisposition::m_oContentDispositionHeaders
StringCaseMap m_oContentDispositionHeaders
Map of headers for this content disposition.
Definition:
contentdisposition.h:54
contentdisposition.h
Generated on Tue Mar 19 2019 09:11:33 for EHS Embedded HTTP Server by
1.9.1