Searched refs:requests (Results 1 - 17 of 17) sorted by relevance

/openjdk7/jdk/test/sun/security/ssl/sun/net/www/httpstest/
H A DAbstractCallback.java39 Map requests; field in class:AbstractCallback
52 requests = Collections.synchronizedMap (new HashMap());
62 Request req = (Request) requests.get (uri);
65 requests.put (uri, req);
72 * is provided to indicate sequencing of repeated requests using
/openjdk7/jdk/test/sun/net/www/httptest/
H A DAbstractCallback.java39 Map requests; field in class:AbstractCallback
52 requests = Collections.synchronizedMap (new HashMap());
62 Request req = (Request) requests.get (uri);
65 requests.put (uri, req);
72 * is provided to indicate sequencing of repeated requests using
/openjdk7/jdk/src/share/classes/sun/misc/
H A DGC.java35 * Support for garbage-collection latency requests.
179 /* Sorted set of active latency requests */
180 private static SortedSet<LatencyRequest> requests = null; field in class:GC.LatencyRequest
186 if ((requests == null) || requests.isEmpty()) {
191 LatencyRequest r = requests.first();
214 if (requests == null) {
215 requests = new TreeSet<LatencyRequest>();
217 requests.add(this);
234 if (!requests
[all...]
/openjdk7/jdk/test/sun/net/www/http/HttpClient/
H A DMultiThreadTest.java27 * @summary HttpURLConnection duplicates HTTP GET requests when used with multiple threads
33 * that requests are not being repeated (due to errors)
82 int requests; field in class:MultiThreadTest
84 MultiThreadTest(int port, int requests) throws Exception { argument
89 this.requests = requests;
98 for (int i=0; i<requests; i++) {
118 int requests = 20;
127 requests = Integer.parseInt (args[x+1]);
138 MultiThreadTest t = new MultiThreadTest(ss.getLocalPort(), requests);
238 static int requests = 0; field in class:Worker
[all...]
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/
H A DB6433018.java81 if (requests != 2) {
82 throw new RuntimeException ("did not receive the 2 requests");
88 static int requests = 0; field in class:B6433018
102 requests ++;
H A DB6361557.java86 int requests = 0;
105 if (requests < NUM) {
114 requests++;
H A DB6393710.java50 /* Two post requests containing data. The second one
96 if (requests != 1) {
128 static int requests = 0; field in class:B6393710
149 requests ++;
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/
H A DAuthenticationInfo.java60 * If true, then simultaneous authentication requests to the same realm/proxy
108 * requests is used to ensure that interaction with the
114 static private HashMap<String,Thread> requests = new HashMap<>(); field in class:AuthenticationInfo
122 /* behavior is disabled. Revert to concurrent requests */
125 synchronized (requests) {
128 if ((t = requests.get(key)) == null) {
129 requests.put (key, c);
135 while (requests.containsKey(key)) {
137 requests.wait ();
149 synchronized (requests) {
[all...]
H A DHttpURLConnection.java298 * NOTE: do *NOT* dump out the content of 'requests' in the
302 private MessageHeader requests; field in class:HttpURLConnection
338 /* Indicates if the std. request headers have been set in requests. */
498 setPreemptiveProxyAuthentication(requests);
513 requests.prepend(method + " " + getRequestURI()+" " +
516 requests.setIfNotSet ("Cache-Control", "no-cache");
517 requests.setIfNotSet ("Pragma", "no-cache");
519 requests.setIfNotSet("User-Agent", userAgent);
525 requests.setIfNotSet("Host", host);
526 requests
1934 setPreemptiveProxyAuthentication(MessageHeader requests) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/http/
H A DHttpClient.java51 // Http requests we send
52 MessageHeader requests; field in class:HttpClient
591 requests = head;
592 requests.print(serverOutput);
598 requests = head;
599 requests.print(serverOutput);
644 if (!failedOnce && requests != null) {
657 writeRequests(requests, poster);
754 if (!failedOnce && requests != null) {
768 writeRequests(requests, poste
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DURLConnection.java292 private MessageHeader requests; field in class:URLConnection
1087 if (requests == null)
1088 requests = new MessageHeader();
1090 requests.set(key, value);
1112 if (requests == null)
1113 requests = new MessageHeader();
1115 requests.add(key, value);
1133 if (requests == null)
1136 return requests.findValue(key);
1155 if (requests
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/im/
H A DCompositionAreaHandler.java41 * A composition area handler handles events and input method requests for
255 * input), input method requests that do not relate to the display of
274 InputMethodRequests requests = getClientInputMethodRequests();
275 if (requests != null) {
276 return requests.getTextLocation(offset);
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/ldap/
H A DLDAPCertStore.java83 * This classes uses caching and requests multiple attributes at once to
92 * reduce the number of requests to a third. Even if we don't need them,
167 private int requests = 0; field in class:LDAPCertStore
229 * @param port Port at which server listens for requests
345 requests++;
346 if (requests % 5 == 0) {
347 System.out.println("LDAP requests: " + requests);
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DVirtualMachineImpl.java209 * Set up requests needed by internal event handler.
1185 JDWP.VirtualMachine.DisposeObjects.Request[] requests = null;
1193 requests = new JDWP.VirtualMachine.DisposeObjects.Request[size];
1194 for (int i = 0; i < requests.length; i++) {
1204 requests[i] =
1212 if (requests != null) {
1214 JDWP.VirtualMachine.DisposeObjects.process(vm, requests);
H A DThreadReferenceImpl.java299 List requests = vm.eventRequestManager().breakpointRequests();
300 Iterator iter = requests.iterator();
H A DEventRequestManagerImpl.java585 List requests = stepRequests();
586 Iterator iter = requests.iterator();
/openjdk7/jdk/make/jpda/jdwp/
H A Djdwp.spec134 "<li>All event requests are cancelled. "
315 (Repeat requests "Number of object dispose requests that follow"

Completed in 110 milliseconds