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