- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for HandlerFactory (0.32 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/DefaultExpectedRequests.java
package org.gradle.test.fixtures.server.http; class DefaultExpectedRequests implements BlockingHttpServer.ExpectedRequests { private final ChainingHttpHandler.HandlerFactory<TrackingHttpHandler> factory; public DefaultExpectedRequests(ChainingHttpHandler.HandlerFactory<TrackingHttpHandler> factory) { this.factory = factory; } public TrackingHttpHandler create(WaitPrecondition previous) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ChainingHttpHandler.java
this.condition = lock.newCondition(); this.timeoutMs = timeoutMs; this.counter = counter; this.last = first; } public <T extends TrackingHttpHandler> T addHandler(HandlerFactory<T> factory) { lock.lock(); try { T handler = factory.create(last); handlers.add(handler); last = handler.getWaitPrecondition(); return handler;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.5K bytes - Viewed (0)