Package rocks.xmpp.extensions.httpauth
Class HttpAuthenticationEvent
- java.lang.Object
-
- java.util.EventObject
-
- rocks.xmpp.extensions.httpauth.HttpAuthenticationEvent
-
- All Implemented Interfaces:
Serializable
public final class HttpAuthenticationEvent extends EventObject
This event notifies listeners, when a HTTP authentication confirmation request has been received.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfirm()Confirms the HTTP authentication request.voiddeny()Denies the HTTP authentication request.ConfirmationRequestgetConfirmationRequest()Gets the confirmation request.JidgetRequester()Gets the requester.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Method Detail
-
getRequester
public Jid getRequester()
Gets the requester.- Returns:
- The requester.
-
getConfirmationRequest
public ConfirmationRequest getConfirmationRequest()
Gets the confirmation request.- Returns:
- The confirmation request.
-
confirm
public void confirm()
Confirms the HTTP authentication request.
-
deny
public void deny()
Denies the HTTP authentication request.
-
-