DCL 3.7.4
Loading...
Searching...
No Matches
HttpServlet.cpp File Reference
#include <dcl/Config.h>
#include <pthread.h>
#include <dcl/Object.h>
#include <dcl/Files.h>
#include <dcl/Writer.h>
#include <dcl/Exception.h>
#include <dcl/HttpServlet.h>
#include <dcl/Charset.h>
#include <dcl/XFileWriter.h>

Go to the source code of this file.

Classes

class  ReportErrorWriter

Macros

#define __WSTR(s)

Functions

 IMPLEMENT_CLASSINFO (ReportErrorWriter, Writer) ReportErrorWriter
 IMPLEMENT_CLASSINFO (HttpServletContext, Object) HttpServletContext
 IMPLEMENT_CLASSINFO (HttpServlet, Object) HttpServlet

Macro Definition Documentation

◆ __WSTR

#define __WSTR ( s)
Value:
s ? UTF8Decoder::decode(s, ByteString::length(s)) : String()

Definition at line 593 of file HttpServlet.cpp.

Function Documentation

◆ IMPLEMENT_CLASSINFO() [1/3]

IMPLEMENT_CLASSINFO ( HttpServlet ,
Object  )

Definition at line 328 of file HttpServlet.cpp.

331{
332 __configPath = NULL;
333 __tempPath = NULL;
334 __SAPI = NULL;
335}
#define NULL
Definition Config.h:312

◆ IMPLEMENT_CLASSINFO() [2/3]

IMPLEMENT_CLASSINFO ( HttpServletContext ,
Object  )

Definition at line 86 of file HttpServlet.cpp.

92{
93 __DCL_ASSERT(_SAPI != NULL);
94 __DCL_ASSERT(_context != NULL);
95 __DCL_ASSERT(_context->pszRemoteAddr != NULL);
96
97 __statusCode = HTTP_STATUS_OK;
98 __headerFlushed = false;
99
100 __SAPI = _SAPI;
101 __context = _context;
102}
@ HTTP_STATUS_OK
#define __DCL_ASSERT(expr)
Definition Object.h:394

◆ IMPLEMENT_CLASSINFO() [3/3]

IMPLEMENT_CLASSINFO ( ReportErrorWriter ,
Writer  )

Definition at line 55 of file HttpServlet.cpp.

62{
63 //Writer::__name = L"HttpReportErrorBridge";
64
65 __pfnReportError = pfnErrorReport;
66 __hErrorWriter = hErrorReport;
67 __pAltOutput = pAltOutput;
68}