AusweisApp2
governikus::ActivationContext Klassenreferenzabstract

#include <ActivationContext.h>

Klassendiagramm für governikus::ActivationContext:

Öffentliche Methoden

 ActivationContext ()
 
 ~ActivationContext () override=default
 
virtual QUrl getActivationURL () const =0
 
virtual bool sendProcessing ()=0
 Sends a processing status response to the caller. Mehr ...
 
virtual bool sendOperationAlreadyActive ()=0
 Sends a response to the caller indicating that another operation is already in progress. Mehr ...
 
virtual bool sendErrorPage (http_status pStatusCode, const GlobalStatus &pStatus)=0
 Sends an error page to the caller. Mehr ...
 
virtual bool sendRedirect (const QUrl &pRedirectAddress, const GlobalStatus &pStatus)=0
 Sends a redirect to the caller. Mehr ...
 
const QString & getSendError () const
 Returns the last error that occurred during a send operation. Mehr ...
 

Geschützte Methoden

void setSendError (const QString &pError)
 

Beschreibung der Konstruktoren und Destruktoren

◆ ActivationContext()

ActivationContext::ActivationContext ( )

◆ ~ActivationContext()

governikus::ActivationContext::~ActivationContext ( )
overridedefault

Dokumentation der Elementfunktionen

◆ getActivationURL()

virtual QUrl governikus::ActivationContext::getActivationURL ( ) const
pure virtual

◆ getSendError()

const QString & governikus::ActivationContext::getSendError ( ) const
inline

Returns the last error that occurred during a send operation.

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

◆ sendErrorPage()

virtual bool governikus::ActivationContext::sendErrorPage ( http_status  pStatusCode,
const GlobalStatus pStatus 
)
pure virtual

Sends an error page to the caller.

Rückgabe
true, if sending succeeded, false otherwise. On failure an error message can be retrieved via getSendError.

Implementiert in governikus::InternalActivationContext, governikus::CustomSchemeActivationContext und governikus::WebserviceActivationContext.

◆ sendOperationAlreadyActive()

virtual bool governikus::ActivationContext::sendOperationAlreadyActive ( )
pure virtual

Sends a response to the caller indicating that another operation is already in progress.

Rückgabe
true, if sending succeeded, false otherwise. On failure an error message can be retrieved via getSendError.

Implementiert in governikus::InternalActivationContext, governikus::CustomSchemeActivationContext und governikus::WebserviceActivationContext.

◆ sendProcessing()

virtual bool governikus::ActivationContext::sendProcessing ( )
pure virtual

Sends a processing status response to the caller.

Rückgabe
true, if sending succeeded, false otherwise. On failure an error message can be retrieved via getSendError.

Implementiert in governikus::InternalActivationContext, governikus::CustomSchemeActivationContext und governikus::WebserviceActivationContext.

◆ sendRedirect()

virtual bool governikus::ActivationContext::sendRedirect ( const QUrl &  pRedirectAddress,
const GlobalStatus pStatus 
)
pure virtual

Sends a redirect to the caller.

Rückgabe
true, if sending succeeded, false otherwise. On failure an error message can be retrieved via getSendError.

Implementiert in governikus::CustomSchemeActivationContext, governikus::InternalActivationContext und governikus::WebserviceActivationContext.

◆ setSendError()

void ActivationContext::setSendError ( const QString &  pError)
protected
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

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