MythTV  master
Static Public Member Functions | List of all members
MythHTTP Class Reference

#include <mythhttptypes.h>

Static Public Member Functions

static QString VersionToString (MythHTTPVersion Version)
 
static MythHTTPVersion VersionFromString (const QString &Version)
 
static QString RequestToString (MythHTTPRequestType Type)
 
static MythHTTPRequestType RequestFromString (const QString &Type)
 
static QString AllowedRequestsToString (int Allowed)
 
static int RequestsFromString (const QString &Requests)
 
static QString StatusToString (MythHTTPStatus Status)
 
static MythHTTPStatus StatusFromString (const QString &Status)
 
static QString ConnectionToString (MythHTTPConnection Connection)
 
static QString GetHeader (const HTTPHeaders &Headers, const QString &Value, const QString &Default="")
 
static QString GetContentType (const MythMimeType &Mime)
 
static QString AddressToString (QHostAddress &Address)
 

Detailed Description

Definition at line 180 of file mythhttptypes.h.

Member Function Documentation

◆ VersionToString()

static QString MythHTTP::VersionToString ( MythHTTPVersion  Version)
inlinestatic

Definition at line 183 of file mythhttptypes.h.

Referenced by MythHTTPResponse::AddDefaultHeaders().

◆ VersionFromString()

static MythHTTPVersion MythHTTP::VersionFromString ( const QString &  Version)
inlinestatic

Definition at line 195 of file mythhttptypes.h.

Referenced by MythHTTPRequest::MythHTTPRequest().

◆ RequestToString()

static QString MythHTTP::RequestToString ( MythHTTPRequestType  Type)
inlinestatic

Definition at line 206 of file mythhttptypes.h.

Referenced by MythHTTPResponse::HandleOptions().

◆ RequestFromString()

static MythHTTPRequestType MythHTTP::RequestFromString ( const QString &  Type)
inlinestatic

Definition at line 221 of file mythhttptypes.h.

Referenced by MythHTTPRequest::MythHTTPRequest().

◆ AllowedRequestsToString()

static QString MythHTTP::AllowedRequestsToString ( int  Allowed)
inlinestatic

◆ RequestsFromString()

static int MythHTTP::RequestsFromString ( const QString &  Requests)
inlinestatic

Definition at line 244 of file mythhttptypes.h.

Referenced by MythHTTPMetaService::ParseRequestTypes().

◆ StatusToString()

static QString MythHTTP::StatusToString ( MythHTTPStatus  Status)
inlinestatic

◆ StatusFromString()

static MythHTTPStatus MythHTTP::StatusFromString ( const QString &  Status)
inlinestatic

Definition at line 283 of file mythhttptypes.h.

◆ ConnectionToString()

static QString MythHTTP::ConnectionToString ( MythHTTPConnection  Connection)
inlinestatic

Definition at line 305 of file mythhttptypes.h.

◆ GetHeader()

static QString MythHTTP::GetHeader ( const HTTPHeaders Headers,
const QString &  Value,
const QString &  Default = "" 
)
inlinestatic

◆ GetContentType()

static QString MythHTTP::GetContentType ( const MythMimeType Mime)
inlinestatic

◆ AddressToString()

static QString MythHTTP::AddressToString ( QHostAddress &  Address)
inlinestatic

The documentation for this class was generated from the following file: