AusweisApp2
governikus::MockActivationContext Klassenreferenz

#include <MockActivationContext.h>

Klassendiagramm für governikus::MockActivationContext:

Öffentliche Methoden

 MockActivationContext (bool pProcessing=false, bool pAlreadyActive=false, bool pErroPage=false, bool pRedirect=false, const QString &pSendError=QString())
 
virtual ~MockActivationContext () override
 
virtual QUrl getActivationURL () const override
 
virtual bool sendProcessing () override
 Sends a processing status response to the caller. Mehr ...
 
virtual bool sendOperationAlreadyActive () override
 Sends a response to the caller indicating that another operation is already in progress. Mehr ...
 
virtual bool sendErrorPage (http_status pStatusCode, const GlobalStatus &pStatus) override
 Sends an error page to the caller. Mehr ...
 
virtual bool sendRedirect (const QUrl &pRedirectAddress, const GlobalStatus &pStatus) override
 Sends a redirect to the caller. Mehr ...
 
bool isSendAlreadyActiveCalled () const
 
bool isSendErroPageCalled () const
 
bool isSendProcessingCalled () const
 
bool isSendRedirectCalled () const
 
- Öffentliche Methoden geerbt von governikus::ActivationContext
 ActivationContext ()
 
virtual ~ActivationContext ()=default
 
const QString & getSendError () const
 Returns the last error that occurred during a send operation. Mehr ...
 

Weitere Geerbte Elemente

- Geschützte Attribute geerbt von governikus::ActivationContext
QString mSendError
 

Beschreibung der Konstruktoren und Destruktoren

◆ MockActivationContext()

MockActivationContext::MockActivationContext ( bool  pProcessing = false,
bool  pAlreadyActive = false,
bool  pErroPage = false,
bool  pRedirect = false,
const QString &  pSendError = QString() 
)

◆ ~MockActivationContext()

MockActivationContext::~MockActivationContext ( )
overridevirtual

Dokumentation der Elementfunktionen

◆ getActivationURL()

virtual QUrl governikus::MockActivationContext::getActivationURL ( ) const
inlineoverridevirtual

◆ isSendAlreadyActiveCalled()

bool governikus::MockActivationContext::isSendAlreadyActiveCalled ( ) const
inline

◆ isSendErroPageCalled()

bool governikus::MockActivationContext::isSendErroPageCalled ( ) const
inline

◆ isSendProcessingCalled()

bool governikus::MockActivationContext::isSendProcessingCalled ( ) const
inline

◆ isSendRedirectCalled()

bool governikus::MockActivationContext::isSendRedirectCalled ( ) const
inline

◆ sendErrorPage()

virtual bool governikus::MockActivationContext::sendErrorPage ( http_status  pStatusCode,
const GlobalStatus pStatus 
)
inlineoverridevirtual

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 governikus::ActivationContext.

◆ sendOperationAlreadyActive()

virtual bool governikus::MockActivationContext::sendOperationAlreadyActive ( )
inlineoverridevirtual

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 governikus::ActivationContext.

◆ sendProcessing()

virtual bool governikus::MockActivationContext::sendProcessing ( )
inlineoverridevirtual

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 governikus::ActivationContext.

◆ sendRedirect()

virtual bool governikus::MockActivationContext::sendRedirect ( const QUrl &  pRedirectAddress,
const GlobalStatus pStatus 
)
inlineoverridevirtual

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 governikus::ActivationContext.


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