- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for helloWorld (0.05 sec)
-
samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt
import okhttp3.Request class SynchronousGet { private val client = OkHttpClient() fun run() { val request = Request .Builder() .url("https://publicobject.com/helloworld.txt") .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") for ((name, value) in response.headers) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
* directive: * * ```java * Request request = new Request.Builder() * .cacheControl(new CacheControl.Builder().noCache().build()) * .url("http://publicobject.com/helloworld.txt") * .build(); * ``` * * If it is only necessary to force a cached response to be validated by the server, use the more * efficient `max-age=0` directive instead: * * ```java
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 26.8K bytes - Viewed (0) -
docs/recipes.md
=== ":material-language-kotlin: Kotlin" ```kotlin private val client = OkHttpClient() fun run() { val request = Request.Builder() .url("https://publicobject.com/helloworld.txt") .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt
.sslSocketFactory(certificates.sslSocketFactory(), certificates.trustManager) .build() } fun run() { showUrl("https://squareup.com/robots.txt") showUrl("https://publicobject.com/helloworld.txt") } private fun showUrl(url: String) { val request = Builder().url(url).build() client .newCall(request) .execute() .use { response ->
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UnicodeStringTest.java
} @Test void testToString() { // Test toString with zterm = true String originalStringTrue = "HelloWorld"; UnicodeString unicodeStringTrue = new UnicodeString(originalStringTrue, true); assertEquals(originalStringTrue, unicodeStringTrue.toString(), "toString should return original string with zterm");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
internal/config/config_test.go
}) } } func TestValidRegion(t *testing.T) { tests := []struct { name string success bool }{ {name: "us-east-1", success: true}, {name: "us_east", success: true}, {name: "helloWorld", success: true}, {name: "-fdslka", success: false}, {name: "^00[", success: false}, {name: "my region", success: false}, {name: "%%$#!", success: false}, } for _, test := range tests {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
} @Test @DisplayName("Should join with empty string delimiter") void testJoinWithEmptyDelimiter() { String result = StringUtil.join("", "hello", "world"); assertEquals("helloworld", result); } @Test @DisplayName("Should join with multi-character delimiter") void testJoinWithMultiCharDelimiter() { String result = StringUtil.join(" - ", "apple", "banana", "cherry");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9K bytes - Viewed (0)