\section{cppcms\+:\+:http\+:\+:content\+\_\+limits Class Reference}
\label{classcppcms_1_1http_1_1content__limits}\index{cppcms\+::http\+::content\+\_\+limits@{cppcms\+::http\+::content\+\_\+limits}}


{\ttfamily \#include $<$cppcms/http\+\_\+content\+\_\+filter.\+h$>$}

Inheritance diagram for cppcms\+:\+:http\+:\+:content\+\_\+limits\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classcppcms_1_1http_1_1content__limits}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
long long {\bf content\+\_\+length\+\_\+limit} () const 
\item 
void {\bf content\+\_\+length\+\_\+limit} (long long size)
\item 
long long {\bf multipart\+\_\+form\+\_\+data\+\_\+limit} () const 
\item 
void {\bf multipart\+\_\+form\+\_\+data\+\_\+limit} (long long size)
\item 
size\+\_\+t {\bf file\+\_\+in\+\_\+memory\+\_\+limit} () const 
\item 
void {\bf file\+\_\+in\+\_\+memory\+\_\+limit} (size\+\_\+t size)
\item 
std\+::string {\bf uploads\+\_\+path} () const 
\item 
void {\bf uploads\+\_\+path} (std\+::string const \&path)
\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
class {\bfseries request}\label{classcppcms_1_1http_1_1content__limits_a85b2d00ed5d8672f7dbb26f19a0b6123}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Class that represent the limits on the input content sizes

\doxyref{New in Cpp\+C\+MS 1.\+2}{p.}{v1_2} 

\subsection{Member Function Documentation}
\index{cppcms\+::http\+::content\+\_\+limits@{cppcms\+::http\+::content\+\_\+limits}!content\+\_\+length\+\_\+limit@{content\+\_\+length\+\_\+limit}}
\index{content\+\_\+length\+\_\+limit@{content\+\_\+length\+\_\+limit}!cppcms\+::http\+::content\+\_\+limits@{cppcms\+::http\+::content\+\_\+limits}}
\subsubsection[{content\+\_\+length\+\_\+limit() const }]{\setlength{\rightskip}{0pt plus 5cm}long long cppcms\+::http\+::content\+\_\+limits\+::content\+\_\+length\+\_\+limit (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{classcppcms_1_1http_1_1content__limits_a21783c94b876ccaa7a00505911d82687}
Get the size limit in bytes of any non multipart/form-\/data content

Note form fields without content-\/type would be limited by this size even if the multipart\+\_\+form\+\_\+data\+\_\+limit is much larger \index{cppcms\+::http\+::content\+\_\+limits@{cppcms\+::http\+::content\+\_\+limits}!content\+\_\+length\+\_\+limit@{content\+\_\+length\+\_\+limit}}
\index{content\+\_\+length\+\_\+limit@{content\+\_\+length\+\_\+limit}!cppcms\+::http\+::content\+\_\+limits@{cppcms\+::http\+::content\+\_\+limits}}
\subsubsection[{content\+\_\+length\+\_\+limit(long long size)}]{\setlength{\rightskip}{0pt plus 5cm}void cppcms\+::http\+::content\+\_\+limits\+::content\+\_\+length\+\_\+limit (
\begin{DoxyParamCaption}
\item[{long long}]{size}
\end{DoxyParamCaption}
)}\label{classcppcms_1_1http_1_1content__limits_a9ed8f9a50eece6c1cb578fae23f2b885}
Set the size limit of any non multipart/form-\/data content

Note form fields without content-\/type would be limited by this size even if the multipart\+\_\+form\+\_\+data\+\_\+limit is much larger \index{cppcms\+::http\+::content\+\_\+limits@{cppcms\+::http\+::content\+\_\+limits}!file\+\_\+in\+\_\+memory\+\_\+limit@{file\+\_\+in\+\_\+memory\+\_\+limit}}
\index{file\+\_\+in\+\_\+memory\+\_\+limit@{file\+\_\+in\+\_\+memory\+\_\+limit}!cppcms\+::http\+::content\+\_\+limits@{cppcms\+::http\+::content\+\_\+limits}}
\subsubsection[{file\+\_\+in\+\_\+memory\+\_\+limit() const }]{\setlength{\rightskip}{0pt plus 5cm}size\+\_\+t cppcms\+::http\+::content\+\_\+limits\+::file\+\_\+in\+\_\+memory\+\_\+limit (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{classcppcms_1_1http_1_1content__limits_add380bf850ba250ed84dad5843f620f0}
Get the maximal size of file that is still hold in memory rather than disk \index{cppcms\+::http\+::content\+\_\+limits@{cppcms\+::http\+::content\+\_\+limits}!file\+\_\+in\+\_\+memory\+\_\+limit@{file\+\_\+in\+\_\+memory\+\_\+limit}}
\index{file\+\_\+in\+\_\+memory\+\_\+limit@{file\+\_\+in\+\_\+memory\+\_\+limit}!cppcms\+::http\+::content\+\_\+limits@{cppcms\+::http\+::content\+\_\+limits}}
\subsubsection[{file\+\_\+in\+\_\+memory\+\_\+limit(size\+\_\+t size)}]{\setlength{\rightskip}{0pt plus 5cm}void cppcms\+::http\+::content\+\_\+limits\+::file\+\_\+in\+\_\+memory\+\_\+limit (
\begin{DoxyParamCaption}
\item[{size\+\_\+t}]{size}
\end{DoxyParamCaption}
)}\label{classcppcms_1_1http_1_1content__limits_acb17817c577d2c8712eb38a7595ea9f8}
Set the maximal size of file that is still hold in memory rather than disk \index{cppcms\+::http\+::content\+\_\+limits@{cppcms\+::http\+::content\+\_\+limits}!multipart\+\_\+form\+\_\+data\+\_\+limit@{multipart\+\_\+form\+\_\+data\+\_\+limit}}
\index{multipart\+\_\+form\+\_\+data\+\_\+limit@{multipart\+\_\+form\+\_\+data\+\_\+limit}!cppcms\+::http\+::content\+\_\+limits@{cppcms\+::http\+::content\+\_\+limits}}
\subsubsection[{multipart\+\_\+form\+\_\+data\+\_\+limit() const }]{\setlength{\rightskip}{0pt plus 5cm}long long cppcms\+::http\+::content\+\_\+limits\+::multipart\+\_\+form\+\_\+data\+\_\+limit (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{classcppcms_1_1http_1_1content__limits_a1a0489bf5f0f22572976e53ce3b7fd9a}
Get the size limit of multipart/form-\/data content in bytes

Note form fields without content-\/type would be limited by content\+\_\+length\+\_\+limit size even if the multipart\+\_\+form\+\_\+data\+\_\+limit is much larger \index{cppcms\+::http\+::content\+\_\+limits@{cppcms\+::http\+::content\+\_\+limits}!multipart\+\_\+form\+\_\+data\+\_\+limit@{multipart\+\_\+form\+\_\+data\+\_\+limit}}
\index{multipart\+\_\+form\+\_\+data\+\_\+limit@{multipart\+\_\+form\+\_\+data\+\_\+limit}!cppcms\+::http\+::content\+\_\+limits@{cppcms\+::http\+::content\+\_\+limits}}
\subsubsection[{multipart\+\_\+form\+\_\+data\+\_\+limit(long long size)}]{\setlength{\rightskip}{0pt plus 5cm}void cppcms\+::http\+::content\+\_\+limits\+::multipart\+\_\+form\+\_\+data\+\_\+limit (
\begin{DoxyParamCaption}
\item[{long long}]{size}
\end{DoxyParamCaption}
)}\label{classcppcms_1_1http_1_1content__limits_a3f8e2dddb412689f463ef564dea675f4}
Set the size limit of multipart/form-\/data content in bytes

Note form fields without content-\/type would be limited by content\+\_\+length\+\_\+limit size even if the multipart\+\_\+form\+\_\+data\+\_\+limit is much larger \index{cppcms\+::http\+::content\+\_\+limits@{cppcms\+::http\+::content\+\_\+limits}!uploads\+\_\+path@{uploads\+\_\+path}}
\index{uploads\+\_\+path@{uploads\+\_\+path}!cppcms\+::http\+::content\+\_\+limits@{cppcms\+::http\+::content\+\_\+limits}}
\subsubsection[{uploads\+\_\+path() const }]{\setlength{\rightskip}{0pt plus 5cm}std\+::string cppcms\+::http\+::content\+\_\+limits\+::uploads\+\_\+path (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{classcppcms_1_1http_1_1content__limits_a403550baf432d28e3a5a9da75270d9f5}
Get a location of a temporary directory that files are uploaded to, if empty system default is used \index{cppcms\+::http\+::content\+\_\+limits@{cppcms\+::http\+::content\+\_\+limits}!uploads\+\_\+path@{uploads\+\_\+path}}
\index{uploads\+\_\+path@{uploads\+\_\+path}!cppcms\+::http\+::content\+\_\+limits@{cppcms\+::http\+::content\+\_\+limits}}
\subsubsection[{uploads\+\_\+path(std\+::string const \&path)}]{\setlength{\rightskip}{0pt plus 5cm}void cppcms\+::http\+::content\+\_\+limits\+::uploads\+\_\+path (
\begin{DoxyParamCaption}
\item[{std\+::string const \&}]{path}
\end{DoxyParamCaption}
)}\label{classcppcms_1_1http_1_1content__limits_a074201a767722772bbd203cf9420e3f9}
Set a location of a temporary directory that files are uploaded to, if empty system default is used 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
cppcms/http\+\_\+content\+\_\+filter.\+h\end{DoxyCompactItemize}
