QxOrm
1.5.0
C++ Object Relational Mapping library
|
qx::QxHttpSessionManager : HTTP session manager (https://www.qxorm.com/qxorm_en/manual.html#manual_998) More...
#include <QxHttpSessionManager.h>
Static Public Member Functions | |
static qx::QxHttpSession_ptr | getSession (qx::QxHttpRequest &request, qx::QxHttpResponse &response, const QByteArray &cookieName=QByteArray("qx_session_id"), bool autoCreateSession=true) |
static qx::QxHttpSession_ptr | createSession (qx::QxHttpRequest &request, qx::QxHttpResponse &response, const QByteArray &cookieName=QByteArray("qx_session_id")) |
static void | removeSession (qx::QxHttpRequest &request, qx::QxHttpResponse &response, const QByteArray &cookieName=QByteArray("qx_session_id")) |
Private Slots | |
void | onCheckSessionTimeOut () |
Private Member Functions | |
QxHttpSessionManager () | |
virtual | ~QxHttpSessionManager () |
Static Private Member Functions | |
static void | deleteSession (qx::QxHttpSession *p) |
Private Attributes | |
std::unique_ptr < QxHttpSessionManagerImpl > | m_pImpl |
Private implementation idiom. | |
Friends | |
class | qx::QxSingleton< QxHttpSessionManager > |
qx::QxHttpSessionManager : HTTP session manager (https://www.qxorm.com/qxorm_en/manual.html#manual_998)
Definition at line 71 of file QxHttpSessionManager.h.
qx::QxHttpSessionManager::QxHttpSessionManager | ( | ) | [private] |
virtual qx::QxHttpSessionManager::~QxHttpSessionManager | ( | ) | [private, virtual] |
static qx::QxHttpSession_ptr qx::QxHttpSessionManager::createSession | ( | qx::QxHttpRequest & | request, |
qx::QxHttpResponse & | response, | ||
const QByteArray & | cookieName = QByteArray("qx_session_id") |
||
) | [static] |
static void qx::QxHttpSessionManager::deleteSession | ( | qx::QxHttpSession * | p | ) | [static, private] |
static qx::QxHttpSession_ptr qx::QxHttpSessionManager::getSession | ( | qx::QxHttpRequest & | request, |
qx::QxHttpResponse & | response, | ||
const QByteArray & | cookieName = QByteArray("qx_session_id") , |
||
bool | autoCreateSession = true |
||
) | [static] |
void qx::QxHttpSessionManager::onCheckSessionTimeOut | ( | ) | [private, slot] |
static void qx::QxHttpSessionManager::removeSession | ( | qx::QxHttpRequest & | request, |
qx::QxHttpResponse & | response, | ||
const QByteArray & | cookieName = QByteArray("qx_session_id") |
||
) | [static] |
friend class qx::QxSingleton< QxHttpSessionManager > [friend] |
Definition at line 75 of file QxHttpSessionManager.h.
std::unique_ptr<QxHttpSessionManagerImpl> qx::QxHttpSessionManager::m_pImpl [private] |
Private implementation idiom.
Definition at line 79 of file QxHttpSessionManager.h.