- Sort Score
- Result 10 results
- Languages All
Results 1761 - 1770 of 2,976 for throwIt (0.03 sec)
-
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
try { drainQueue(); } catch (Throwable e) { e.printStackTrace(); } }); } executor.shutdown(); } private void drainQueue() throws Exception { for (HttpUrl url; (url = queue.take()) != null; ) { if (!fetchedUrls.add(url)) { continue; } Thread currentThread = Thread.currentThread();Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jul 23 00:58:06 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb/RequestParamTest.java
@EmptySource @DisplayName("valueOf(\"\") throws IllegalArgumentException for empty input") void valueOfRejectsEmpty(String empty) { assertThrows(IllegalArgumentException.class, () -> RequestParam.valueOf(empty)); } // Invalid: null is not allowed for valueOf @ParameterizedTest @NullSource @DisplayName("valueOf(null) throws NullPointerException") void valueOfRejectsNull(String input) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt
setAlpnProtocols.invoke( sslSocket, Platform.concatLengthPrefixed(protocols), ) } catch (e: IllegalAccessException) { throw AssertionError(e) } catch (e: InvocationTargetException) { throw AssertionError(e) } } } override fun getSelectedProtocol(sslSocket: SSLSocket): String? { // No TLS extensions if the socket class is custom.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
public class SystemHelperTest extends UnitFessTestCase { public SystemHelper systemHelper; private final Map<String, String> envMap = new HashMap<>(); @Override public void setUp() throws Exception { super.setUp(); final File propFile = File.createTempFile("project", ".properties"); propFile.deleteOnExit();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 28.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageDeflater.kt
// nowrap (omits zlib header): true, ) private val deflaterSink = DeflaterSink(deflatedBytes, deflater) /** Deflates [buffer] in place as described in RFC 7692 section 7.2.1. */ @Throws(IOException::class) fun deflate(buffer: Buffer) { require(deflatedBytes.size == 0L) if (noContextTakeover) { deflater.reset() } deflaterSink.write(buffer, buffer.size)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/guide/PostExample.java
public class PostExample { public static final MediaType JSON = MediaType.get("application/json; charset=utf-8"); final OkHttpClient client = new OkHttpClient(); String post(String url, String json) throws IOException { RequestBody body = RequestBody.create(json, JSON); Request request = new Request.Builder() .url(url) .post(body) .build();Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/saml/SamlAuthenticatorTest.java
import org.codelibs.fess.unit.UnitFessTestCase; public class SamlAuthenticatorTest extends UnitFessTestCase { @Override public void setUp() throws Exception { super.setUp(); } @Override public void tearDown() throws Exception { super.tearDown(); } // Basic test to verify test framework is working public void test_basicAssertion() { assertTrue(true);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt
import okio.BufferedSource import okio.ForwardingSource import okio.buffer /** Rewrites the response body returned from the server to be all uppercase. */ class UppercaseResponseInterceptor : Interceptor { @Throws(IOException::class) override fun intercept(chain: Chain): Response = uppercaseResponse(chain.proceed(chain.request())) private fun uppercaseResponse(response: Response): Response { val uppercaseBody: ResponseBody =Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/FessBootTest.java
package org.codelibs.fess; import org.codelibs.fess.unit.UnitFessTestCase; public class FessBootTest extends UnitFessTestCase { @Override public void setUp() throws Exception { super.setUp(); } @Override public void tearDown() throws Exception { super.tearDown(); } // Basic test to verify test framework is working public void test_basicAssertion() { assertTrue(true);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiResponseTest.java
import org.codelibs.fess.unit.UnitFessTestCase; public class WebApiResponseTest extends UnitFessTestCase { @Override public void setUp() throws Exception { super.setUp(); } @Override public void tearDown() throws Exception { super.tearDown(); } // Basic test to verify test framework is working public void test_basicAssertion() { assertTrue(true);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 1.7K bytes - Viewed (0)