protected static class JavaHttpBuilder.ThreadLocalAuth
extends java.net.Authenticator
Modifier | Constructor and Description |
---|---|
protected |
ThreadLocalAuth() |
Modifier and Type | Method and Description |
---|---|
java.net.PasswordAuthentication |
getPasswordAuthentication() |
static <V> V |
with(java.net.PasswordAuthentication pa,
java.util.concurrent.Callable<V> callable) |
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefault
public java.net.PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication
in class java.net.Authenticator
public static final <V> V with(java.net.PasswordAuthentication pa, java.util.concurrent.Callable<V> callable) throws java.lang.Exception
java.lang.Exception