- Sort Score
- Result 10 results
- Languages All
Results 671 - 680 of 1,105 for builder (0.08 sec)
-
samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt
import okhttp3.Request import okhttp3.Response class AsynchronousGet { private val client = OkHttpClient() fun run() { val request = Request.Builder() .url("http://publicobject.com/helloworld.txt") .build() client.newCall(request).enqueue( object : Callback { override fun onFailure( call: Call, e: IOException, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostForm.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt
import okhttp3.OkHttpClient 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")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.2K bytes - Viewed (0) -
api/go1.10.txt
pkg os, var ErrNoDeadline error pkg strings, method (*Builder) Grow(int) pkg strings, method (*Builder) Len() int pkg strings, method (*Builder) Reset() pkg strings, method (*Builder) String() string pkg strings, method (*Builder) Write([]uint8) (int, error) pkg strings, method (*Builder) WriteByte(uint8) error pkg strings, method (*Builder) WriteRune(int32) (int, error) pkg strings, method (*Builder) WriteString(string) (int, error)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Feb 06 05:00:01 UTC 2018 - 30.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http1/HeadersReader.kt
return line } /** Reads headers or trailers. */ fun readHeaders(): Headers { val result = Headers.Builder() while (true) { val line = readLine() if (line.isEmpty()) break result.addLenient(line) } return result.build() } companion object { private const val HEADER_LIMIT = 256 * 1024 }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 1.4K bytes - Viewed (0) -
api/maven-api-model/src/site/apt/index.apt
The following are generated from this model: * {{{./apidocs/index.html}Java sources}} with <<<Builder>>> inner classes for immutable instances creation.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Dec 31 16:32:07 UTC 2022 - 1.3K bytes - Viewed (0) -
test-site/app/Global.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Feb 23 14:02:03 UTC 2019 - 2.2K bytes - Viewed (0) -
api/maven-api-toolchain/src/site/apt/index.apt
This is strictly the immutable model for Maven toolchains in <<<org.apache.maven.api.toolchain>>> package. The following are generated from this model: * {{{./apidocs/index.html}Java sources}} with <<<Builder>>> inner classes for immutable instances creation. See also corresponding {{{../../maven-toolchain-model/index.html}Maven classical toolchains model documentation}}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Dec 31 16:32:07 UTC 2022 - 1.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java
public void run() throws Exception { Request request = new Request.Builder() .url("https://api.github.com/repos/square/okhttp/issues") .header("User-Agent", "OkHttp Headers.java") .addHeader("Accept", "application/json; q=0.5") .addHeader("Accept", "application/vnd.github.v3+json") .build(); try (Response response = client.newCall(request).execute()) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.6K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingResult.java
*/ package org.apache.maven.settings.building; import java.util.ArrayList; import java.util.List; import org.apache.maven.settings.Settings; /** * Collects the output of the settings builder. * * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.SettingsBuilder} instead */ @Deprecated(since = "4.0.0") class DefaultSettingsBuildingResult implements SettingsBuildingResult {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0)