equal
deleted
inserted
replaced
43 static private final Base64.Encoder encoder = Base64.getEncoder(); |
43 static private final Base64.Encoder encoder = Base64.getEncoder(); |
44 |
44 |
45 static final int DEFAULT_RETRY_LIMIT = 3; |
45 static final int DEFAULT_RETRY_LIMIT = 3; |
46 |
46 |
47 static final int retry_limit = Utils.getIntegerNetProperty( |
47 static final int retry_limit = Utils.getIntegerNetProperty( |
48 "sun.net.httpclient.auth.retrylimit", DEFAULT_RETRY_LIMIT); |
48 "java.net.httpclient.auth.retrylimit", DEFAULT_RETRY_LIMIT); |
49 |
49 |
50 static final int UNAUTHORIZED = 401; |
50 static final int UNAUTHORIZED = 401; |
51 static final int PROXY_UNAUTHORIZED = 407; |
51 static final int PROXY_UNAUTHORIZED = 407; |
52 |
52 |
53 private PasswordAuthentication getCredentials(String header, |
53 private PasswordAuthentication getCredentials(String header, |