DCL 4.0
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 592 of file HttpServlet.cpp.

Function Documentation

◆ IMPLEMENT_CLASSINFO() [1/3]

IMPLEMENT_CLASSINFO ( HttpServlet ,
Object  )

Definition at line 325 of file HttpServlet.cpp.

328{
329 __configPath = NULL;
330 __tempPath = NULL;
331 __SAPI = NULL;
332}
#define NULL
Definition Config.h:340

◆ IMPLEMENT_CLASSINFO() [2/3]

IMPLEMENT_CLASSINFO ( HttpServletContext ,
Object  )

Definition at line 89 of file HttpServlet.cpp.

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

◆ IMPLEMENT_CLASSINFO() [3/3]

IMPLEMENT_CLASSINFO ( ReportErrorWriter ,
Writer  )

Definition at line 55 of file HttpServlet.cpp.

62{
63 //Writer::__name = L"HttpReportErrorBridge";
64
65 m_pfnReportError = pfnErrorReport;
66 m_hErrorWriter = hErrorReport;
67 m_pAltOutput = pAltOutput;
68}