- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 1,114 for CLIENT (5.36 sec)
-
samples/guide/src/main/java/okhttp3/recipes/kt/ConfigureTimeouts.kt
* limitations under the License. */ package okhttp3.recipes.kt import java.util.concurrent.TimeUnit import okhttp3.OkHttpClient import okhttp3.Request class ConfigureTimeouts { private val client: OkHttpClient = OkHttpClient .Builder() .connectTimeout(5, TimeUnit.SECONDS) .writeTimeout(5, TimeUnit.SECONDS) .readTimeout(5, TimeUnit.SECONDS) .callTimeout(10, TimeUnit.SECONDS)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.3K bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt
import javax.net.ssl.TrustManagerFactory import javax.net.ssl.X509TrustManager import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.Request import org.junit.jupiter.api.Test import org.mockserver.client.MockServerClient import org.mockserver.configuration.Configuration import org.mockserver.logging.MockServerLogger import org.mockserver.model.HttpRequest.request import org.mockserver.model.HttpResponse.response
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.4K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/dependencies-with-yield.md
```mermaid sequenceDiagram participant client as Client participant handler as Exceptionhandler participant dep as Abhängigkeit mit yield participant operation as Pfadoperation participant tasks as Hintergrundtasks Note over client,operation: Kann Exceptions auslösen, inklusive HTTPException client ->> dep: Startet den Request Note over dep: Führt den Code bis zum yield aus
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 12.2K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt
.build() }.build() val response = client.newCall(Request("https://google.com/robots.txt".toHttpUrl())).execute() assertThat(response.header("Content-Encoding")).isEqualTo("piedpiper") assertThat(response.body.string()).isEqualTo("Hello") } @Test fun gzipThroughCall() { val gzip = CompressionInterceptor(Gzip) val client = clientTestRule .newClientBuilder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 3K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt
.cache(dnsCache) .build() dnsProviders = providers( client = bootstrapClient, http2Only = true, workingOnly = true, getOnly = true, ) runBatch(dnsProviders, names) println("cached second run\n*****************\n") dnsProviders = providers( client = bootstrapClient, http2Only = true, workingOnly = true,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
* if (myConfig.isInvalid()) { * return Response.Builder() * .request(chain.request()) * .protocol(Protocol.HTTP_1_1) * .code(400) * .message("client config invalid") * .body("client config invalid".toResponseBody(null)) * .build() * } * * return chain.proceed(chain.request()) * } * ``` */ fun interface Interceptor {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/BouncyCastleTest.kt
class BouncyCastleTest { @JvmField @RegisterExtension var platform = PlatformRule() @JvmField @RegisterExtension val clientTestRule = OkHttpClientTestRule() var client = clientTestRule.newClient() @StartStop private val server = MockWebServer() @BeforeEach fun setUp() { OkHttpDebugLogging.enable("org.bouncycastle.jsse") platform.assumeBouncyCastle() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClientException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.opensearch.client; import org.codelibs.fess.exception.FessSystemException; /** * Exception thrown when search engine client operations fail. * This exception wraps underlying search engine errors and provides * meaningful error messages for troubleshooting. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java
import okhttp3.Response; public final class SynchronousGet { private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java
static final int SMB_FILE_NAMES_INFO = 0x103; static final int SMB_FILE_BOTH_DIRECTORY_INFO = 0x104; static final int LIST_SIZE = Config.getInt("jcifs.smb1.smb.client.listSize", DEFAULT_LIST_SIZE); static final int LIST_COUNT = Config.getInt("jcifs.smb1.smb.client.listCount", DEFAULT_LIST_COUNT); Trans2FindFirst2(final String filename, final String wildcard, final int searchAttributes) { if (filename.equals("\\")) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0)