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 Attribute

QString mSendError
 

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.

◆ 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::WebserviceActivationContext, governikus::IntentActivationContext, governikus::CustomSchemeActivationContext und governikus::InternalActivationContext.

◆ 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::WebserviceActivationContext, governikus::IntentActivationContext, governikus::CustomSchemeActivationContext und governikus::InternalActivationContext.

◆ 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::WebserviceActivationContext, governikus::IntentActivationContext, governikus::CustomSchemeActivationContext und governikus::InternalActivationContext.

◆ 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::WebserviceActivationContext, governikus::IntentActivationContext, governikus::CustomSchemeActivationContext und governikus::InternalActivationContext.

Dokumentation der Datenelemente

◆ mSendError

QString governikus::ActivationContext::mSendError
protected

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