AusweisApp2
governikus::UrlUtil Klassenreferenz

Utility class for checking various constraints on URLs. Mehr ...

#include <UrlUtil.h>

Öffentliche, statische Methoden

static QUrl getUrlOrigin (const QUrl &pUrl)
 Determines the URL origin, i.e. Mehr ...
 
static bool isMatchingSameOriginPolicy (const QUrl &pUrl1, const QUrl &pUrl2)
 Checks whether the same origin policy is satisfied for the two specified URL. Mehr ...
 
static QUrl addMajorMinor (const QUrl &pUrl, const GlobalStatus &pStatus)
 Append result to URL. Mehr ...
 

Ausführliche Beschreibung

Utility class for checking various constraints on URLs.

Dokumentation der Elementfunktionen

◆ addMajorMinor()

QUrl UrlUtil::addMajorMinor ( const QUrl &  pUrl,
const GlobalStatus pStatus 
)
static

Append result to URL.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ getUrlOrigin()

QUrl UrlUtil::getUrlOrigin ( const QUrl &  pUrl)
static

Determines the URL origin, i.e.

the protocol, host name and port part of the full URL.

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ isMatchingSameOriginPolicy()

bool UrlUtil::isMatchingSameOriginPolicy ( const QUrl &  pUrl1,
const QUrl &  pUrl2 
)
static

Checks whether the same origin policy is satisfied for the two specified URL.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: