- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for sendSomeAndBlock (0.3 sec)
-
testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 46.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMethod.java
@Override public BuildableExpectedRequest send(String content) { replaceBody(new SendFixedContent(200, content), null); return this; } @Override public BlockingRequest sendSomeAndBlock(byte[] content) { if (content.length < 1024) { throw new IllegalArgumentException("Content is too short."); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java
* Sends a 200 response with the given content. Returns 1K of the content then blocks waiting for {@link BlockingRequest#release()} before returning the remainder to the client. */ BlockingRequest sendSomeAndBlock(byte[] content); } /** * Allows the test to synchronise with and unblock a single request. */ public interface BlockingRequest extends ExpectedRequest { /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 21.7K bytes - Viewed (0)