1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-21 23:55:13 -05:00

HTTP server; changed namespace to qtwebapp

This commit is contained in:
f4exb 2017-11-11 09:32:15 +01:00
parent b226c594df
commit be77fa82a3
20 changed files with 20 additions and 20 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -14,7 +14,7 @@
#include "httpconnectionhandlerpool.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,

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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