Package org.jsoup.helper
Class AuthenticationHandler.GlobalHandler
java.lang.Object
org.jsoup.helper.AuthenticationHandler.GlobalHandler
- All Implemented Interfaces:
AuthenticationHandler.AuthShim
- Enclosing class:
- AuthenticationHandler
static class AuthenticationHandler.GlobalHandler
extends Object
implements AuthenticationHandler.AuthShim
On Java 8 we install a system-wide Authenticator, which pulls the delegating Auth from a ThreadLocal pool.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
enable
(RequestAuthenticator auth, HttpURLConnection con) get
(AuthenticationHandler helper) void
remove()
-
Field Details
-
authenticators
-
-
Constructor Details
-
GlobalHandler
GlobalHandler()
-
-
Method Details
-
enable
- Specified by:
enable
in interfaceAuthenticationHandler.AuthShim
-
remove
public void remove()- Specified by:
remove
in interfaceAuthenticationHandler.AuthShim
-
get
- Specified by:
get
in interfaceAuthenticationHandler.AuthShim
-