public final class HttpAuthenticationManager extends ExtensionManager
If you want to confirm or deny HTTP requests, add a listener and call HttpAuthenticationEvent.confirm() or HttpAuthenticationEvent.deny() on the event object.
features, xmppSession| Modifier and Type | Method and Description |
|---|---|
void |
addHttpAuthenticationListener(HttpAuthenticationListener httpAuthenticationListener)
Adds a HTTP authentication listener, which allows to listen for HTTP authentication confirmation requests.
|
void |
removeHttpAuthenticationListener(HttpAuthenticationListener httpAuthenticationListener)
Removes a previously added HTTP authentication listener.
|
setEnabledpublic void addHttpAuthenticationListener(HttpAuthenticationListener httpAuthenticationListener)
httpAuthenticationListener - The listener.removeHttpAuthenticationListener(HttpAuthenticationListener)public void removeHttpAuthenticationListener(HttpAuthenticationListener httpAuthenticationListener)
httpAuthenticationListener - The listener.addHttpAuthenticationListener(HttpAuthenticationListener)Copyright © 2014 XMPP.rocks. All rights reserved.