Searched refs:requests (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/ |
D | AuthenticationInfo.java | 114 static private HashMap<String,Thread> requests = new HashMap<>(); field in AuthenticationInfo 125 synchronized (requests) { in requestIsInProgress() 128 if ((t = requests.get(key)) == null) { in requestIsInProgress() 129 requests.put (key, c); in requestIsInProgress() 135 while (requests.containsKey(key)) { in requestIsInProgress() 137 requests.wait (); in requestIsInProgress() 149 synchronized (requests) { in requestCompleted() 150 Thread thread = requests.get(key); in requestCompleted() 152 boolean waspresent = requests.remove(key) != null; in requestCompleted() 155 requests.notifyAll(); in requestCompleted() [all …]
|
D | HttpURLConnection.java | 303 private MessageHeader requests; field in HttpURLConnection 499 setPreemptiveProxyAuthentication(requests); 514 requests.prepend(method + " " + getRequestURI()+" " + 517 requests.setIfNotSet ("Cache-Control", "no-cache"); 518 requests.setIfNotSet ("Pragma", "no-cache"); 520 requests.setIfNotSet("User-Agent", userAgent); 526 requests.setIfNotSet("Host", host); 527 requests.setIfNotSet("Accept", acceptString); 539 requests.setIfNotSet("Proxy-Connection", "keep-alive"); 541 requests.setIfNotSet("Connection", "keep-alive"); [all …]
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLConnection.java | 293 private MessageHeader requests; field in URLConnection 1076 if (requests == null) in setRequestProperty() 1077 requests = new MessageHeader(); in setRequestProperty() 1079 requests.set(key, value); in setRequestProperty() 1101 if (requests == null) in addRequestProperty() 1102 requests = new MessageHeader(); in addRequestProperty() 1104 requests.add(key, value); in addRequestProperty() 1122 if (requests == null) in getRequestProperty() 1125 return requests.findValue(key); in getRequestProperty() 1144 if (requests == null) in getRequestProperties() [all …]
|
/libcore/ojluni/src/main/java/sun/net/www/http/ |
D | HttpClient.java | 52 MessageHeader requests; field in HttpClient 591 requests = head; in writeRequests() 592 requests.print(serverOutput); in writeRequests() 598 requests = head; in writeRequests() 599 requests.print(serverOutput); in writeRequests() 644 if (!failedOnce && requests != null) { in parseHTTP() 657 writeRequests(requests, poster); in parseHTTP() 754 if (!failedOnce && requests != null) { in parseHTTPHeader() 768 writeRequests(requests, poster); in parseHTTPHeader() 841 String requestLine = requests.getKey(0); in parseHTTPHeader() [all …]
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ldap/ |
D | LDAPCertStore.java | 176 private int requests = 0; field in LDAPCertStore 366 requests++; in getValueMap() 367 if (requests % 5 == 0) { in getValueMap() 368 System.out.println("LDAP requests: " + requests); in getValueMap()
|