- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 617 for Executed (0.37 sec)
-
samples/guide/src/main/java/okhttp3/recipes/kt/PostString.kt
val request = Request( url = "https://api.github.com/markdown/raw".toHttpUrl(), body = postBody.toRequestBody(MEDIA_TYPE_MARKDOWN), ) client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } companion object {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostPath.kt
val request = Request .Builder() .url("https://httpbin.org/anything") .put(path.asRequestBody(fileSystem, MEDIA_TYPE_JSON)) .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") fileSystem.sink(path).use { response.body.source().readAll(it) }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientTest.kt
private var httpClient = HttpClients.createDefault() @After fun tearDown() { httpClient.close() } @Test fun get() { val request = HttpGet("https://google.com/robots.txt") httpClient.execute(request).use { response -> assertEquals(200, response.code) // TODO enable ALPN later assertEquals(HttpVersion.HTTP_1_1, response.version) } }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java
public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) { System.out.println(response.request().header("Date")); } } static class CurrentDateInterceptor implements Interceptor { @Override public Response intercept(Chain chain) throws IOException {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 31 15:32:50 UTC 2018 - 1.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostString.java
.url("https://api.github.com/markdown/raw") .post(RequestBody.create(postBody, MEDIA_TYPE_MARKDOWN)) .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 25 18:02:55 UTC 2019 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
*/ int FLAGS2_EXTENDED_SECURITY_NEGOTIATION = 0x0800; /** * Resolve paths in Distributed File System flag. */ int FLAGS2_RESOLVE_PATHS_IN_DFS = 0x1000; /** * Permit read if execute permission flag. */ int FLAGS2_PERMIT_READ_IF_EXECUTE_PERM = 0x2000; /** * Use 32-bit status codes flag. */ int FLAGS2_STATUS32 = 0x4000; /** * Strings are Unicode flag.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java
import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.util.ComponentUtil; import org.codelibs.fess.util.RenderDataUtil; import org.lastaflute.core.direction.ObjectiveConfig; import org.lastaflute.web.Execute; import org.lastaflute.web.response.HtmlResponse; import org.lastaflute.web.response.render.RenderData; import org.lastaflute.web.ruts.process.ActionRuntime; import jakarta.annotation.Resource; /**
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/ArraySettingsTest.java
runner.close(); runner.clean(); } @Before public void before() throws Exception { runner.admin().indices().prepareDelete("_all").execute().actionGet(); runner.refresh(); settings = Suggester.builder().build(runner.client(), id).settings(); } @Test public void test_setAndGetAsArray() { String key = "key";
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sun Nov 23 13:04:17 UTC 2025 - 3.4K bytes - Viewed (1) -
container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.7K bytes - Viewed (1) -
samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java
public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/robots.txt") .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); for (Certificate certificate : response.handshake().peerCertificates()) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Dec 08 21:30:01 UTC 2019 - 1.7K bytes - Viewed (0)