Browse Source

HTTP server; changed namespace to qtwebapp

chirpmodem-v8.0.0
f4exb 9 years ago
parent
commit
be77fa82a3
  1. 2
      httpserver/httpconnectionhandler.cpp
  2. 2
      httpserver/httpconnectionhandler.h
  3. 2
      httpserver/httpconnectionhandlerpool.cpp
  4. 2
      httpserver/httpconnectionhandlerpool.h
  5. 2
      httpserver/httpcookie.cpp
  6. 2
      httpserver/httpcookie.h
  7. 2
      httpserver/httplistener.cpp
  8. 2
      httpserver/httplistener.h
  9. 2
      httpserver/httprequest.cpp
  10. 2
      httpserver/httprequest.h
  11. 2
      httpserver/httprequesthandler.cpp
  12. 2
      httpserver/httprequesthandler.h
  13. 2
      httpserver/httpresponse.cpp
  14. 2
      httpserver/httpresponse.h
  15. 2
      httpserver/httpsession.cpp
  16. 2
      httpserver/httpsession.h
  17. 2
      httpserver/httpsessionstore.cpp
  18. 2
      httpserver/httpsessionstore.h
  19. 2
      httpserver/staticfilecontroller.cpp
  20. 2
      httpserver/staticfilecontroller.h

2
httpserver/httpconnectionhandler.cpp

@ -6,7 +6,7 @@
#include "httpconnectionhandler.h" #include "httpconnectionhandler.h"
#include "httpresponse.h" #include "httpresponse.h"
using namespace stefanfrings; using namespace qtwebapp;
HttpConnectionHandler::HttpConnectionHandler(QSettings* settings, HttpRequestHandler* requestHandler, QSslConfiguration* sslConfiguration) HttpConnectionHandler::HttpConnectionHandler(QSettings* settings, HttpRequestHandler* requestHandler, QSslConfiguration* sslConfiguration)
: QThread() : QThread()

2
httpserver/httpconnectionhandler.h

@ -17,7 +17,7 @@
#include "httprequest.h" #include "httprequest.h"
#include "httprequesthandler.h" #include "httprequesthandler.h"
namespace stefanfrings { namespace qtwebapp {
/** Alias type definition, for compatibility to different Qt versions */ /** Alias type definition, for compatibility to different Qt versions */
#if QT_VERSION >= 0x050000 #if QT_VERSION >= 0x050000

2
httpserver/httpconnectionhandlerpool.cpp

@ -7,7 +7,7 @@
#include <QDir> #include <QDir>
#include "httpconnectionhandlerpool.h" #include "httpconnectionhandlerpool.h"
using namespace stefanfrings; using namespace qtwebapp;
HttpConnectionHandlerPool::HttpConnectionHandlerPool(QSettings* settings, HttpRequestHandler* requestHandler) HttpConnectionHandlerPool::HttpConnectionHandlerPool(QSettings* settings, HttpRequestHandler* requestHandler)
: QObject() : QObject()

2
httpserver/httpconnectionhandlerpool.h

@ -8,7 +8,7 @@
#include "httpglobal.h" #include "httpglobal.h"
#include "httpconnectionhandler.h" #include "httpconnectionhandler.h"
namespace stefanfrings { namespace qtwebapp {
/** /**
Pool of http connection handlers. The size of the pool grows and Pool of http connection handlers. The size of the pool grows and

2
httpserver/httpcookie.cpp

@ -5,7 +5,7 @@
#include "httpcookie.h" #include "httpcookie.h"
using namespace stefanfrings; using namespace qtwebapp;
HttpCookie::HttpCookie() HttpCookie::HttpCookie()
{ {

2
httpserver/httpcookie.h

@ -10,7 +10,7 @@
#include <QByteArray> #include <QByteArray>
#include "httpglobal.h" #include "httpglobal.h"
namespace stefanfrings { namespace qtwebapp {
/** /**
HTTP cookie as defined in RFC 2109. This class can also parse HTTP cookie as defined in RFC 2109. This class can also parse

2
httpserver/httplistener.cpp

@ -8,7 +8,7 @@
#include "httpconnectionhandlerpool.h" #include "httpconnectionhandlerpool.h"
#include <QCoreApplication> #include <QCoreApplication>
using namespace stefanfrings; using namespace qtwebapp;
HttpListener::HttpListener(QSettings* settings, HttpRequestHandler* requestHandler, QObject *parent) HttpListener::HttpListener(QSettings* settings, HttpRequestHandler* requestHandler, QObject *parent)
: QTcpServer(parent) : QTcpServer(parent)

2
httpserver/httplistener.h

@ -14,7 +14,7 @@
#include "httpconnectionhandlerpool.h" #include "httpconnectionhandlerpool.h"
#include "httprequesthandler.h" #include "httprequesthandler.h"
namespace stefanfrings { namespace qtwebapp {
/** /**
Listens for incoming TCP connections and and passes all incoming HTTP requests to your implementation of HttpRequestHandler, Listens for incoming TCP connections and and passes all incoming HTTP requests to your implementation of HttpRequestHandler,

2
httpserver/httprequest.cpp

@ -8,7 +8,7 @@
#include <QDir> #include <QDir>
#include "httpcookie.h" #include "httpcookie.h"
using namespace stefanfrings; using namespace qtwebapp;
HttpRequest::HttpRequest(QSettings* settings) HttpRequest::HttpRequest(QSettings* settings)
{ {

2
httpserver/httprequest.h

@ -16,7 +16,7 @@
#include <QUuid> #include <QUuid>
#include "httpglobal.h" #include "httpglobal.h"
namespace stefanfrings { namespace qtwebapp {
/** /**
This object represents a single HTTP request. It reads the request This object represents a single HTTP request. It reads the request

2
httpserver/httprequesthandler.cpp

@ -5,7 +5,7 @@
#include "httprequesthandler.h" #include "httprequesthandler.h"
using namespace stefanfrings; using namespace qtwebapp;
HttpRequestHandler::HttpRequestHandler(QObject* parent) HttpRequestHandler::HttpRequestHandler(QObject* parent)
: QObject(parent) : QObject(parent)

2
httpserver/httprequesthandler.h

@ -10,7 +10,7 @@
#include "httprequest.h" #include "httprequest.h"
#include "httpresponse.h" #include "httpresponse.h"
namespace stefanfrings { namespace qtwebapp {
/** /**
The request handler generates a response for each HTTP request. Web Applications The request handler generates a response for each HTTP request. Web Applications

2
httpserver/httpresponse.cpp

@ -5,7 +5,7 @@
#include "httpresponse.h" #include "httpresponse.h"
using namespace stefanfrings; using namespace qtwebapp;
HttpResponse::HttpResponse(QTcpSocket* socket) HttpResponse::HttpResponse(QTcpSocket* socket)
{ {

2
httpserver/httpresponse.h

@ -12,7 +12,7 @@
#include "httpglobal.h" #include "httpglobal.h"
#include "httpcookie.h" #include "httpcookie.h"
namespace stefanfrings { namespace qtwebapp {
/** /**
This object represents a HTTP response, used to return something to the web client. This object represents a HTTP response, used to return something to the web client.

2
httpserver/httpsession.cpp

@ -7,7 +7,7 @@
#include <QDateTime> #include <QDateTime>
#include <QUuid> #include <QUuid>
using namespace stefanfrings; using namespace qtwebapp;
HttpSession::HttpSession(bool canStore) HttpSession::HttpSession(bool canStore)
{ {

2
httpserver/httpsession.h

@ -11,7 +11,7 @@
#include <QReadWriteLock> #include <QReadWriteLock>
#include "httpglobal.h" #include "httpglobal.h"
namespace stefanfrings { namespace qtwebapp {
/** /**
This class stores data for a single HTTP session. This class stores data for a single HTTP session.

2
httpserver/httpsessionstore.cpp

@ -7,7 +7,7 @@
#include <QDateTime> #include <QDateTime>
#include <QUuid> #include <QUuid>
using namespace stefanfrings; using namespace qtwebapp;
HttpSessionStore::HttpSessionStore(QSettings* settings, QObject* parent) HttpSessionStore::HttpSessionStore(QSettings* settings, QObject* parent)
:QObject(parent) :QObject(parent)

2
httpserver/httpsessionstore.h

@ -15,7 +15,7 @@
#include "httpresponse.h" #include "httpresponse.h"
#include "httprequest.h" #include "httprequest.h"
namespace stefanfrings { namespace qtwebapp {
/** /**
Stores HTTP sessions and deletes them when they have expired. Stores HTTP sessions and deletes them when they have expired.

2
httpserver/staticfilecontroller.cpp

@ -8,7 +8,7 @@
#include <QDir> #include <QDir>
#include <QDateTime> #include <QDateTime>
using namespace stefanfrings; using namespace qtwebapp;
StaticFileController::StaticFileController(QSettings* settings, QObject* parent) StaticFileController::StaticFileController(QSettings* settings, QObject* parent)
:HttpRequestHandler(parent) :HttpRequestHandler(parent)

2
httpserver/staticfilecontroller.h

@ -13,7 +13,7 @@
#include "httpresponse.h" #include "httpresponse.h"
#include "httprequesthandler.h" #include "httprequesthandler.h"
namespace stefanfrings { namespace qtwebapp {
/** /**
Delivers static files. It is usually called by the applications main request handler when Delivers static files. It is usually called by the applications main request handler when

Loading…
Cancel
Save