- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 840 for executes (0.05 sec)
-
okhttp-brotli/src/test/java/okhttp3/brotli/BrotliTestMain.kt
sendRequest("https://httpbin.org/gzip", client) } private fun sendRequest( url: String, client: OkHttpClient, ) { val req = Request.Builder().url(url).build() client.newCall(req).execute().use { println(it.body.string()) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.1K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java
QueryBuilder queryBuilder = queryCommand.execute(queryContext, wildcardQuery, 1.0f); assertNotNull(queryBuilder); } public void test_execute_withNonWildcardQuery() { QueryContext queryContext = new QueryContext("test", false); TermQuery termQuery = new TermQuery(new Term("title", "test")); try { queryCommand.execute(queryContext, termQuery, 1.0f);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java
Request request = new Request.Builder() .url("http://publicobject.com/helloworld.txt") .build(); String response1Body; try (Response response1 = client.newCall(request).execute()) { if (!response1.isSuccessful()) throw new IOException("Unexpected code " + response1); response1Body = response1.body().string(); System.out.println("Response 1 response: " + response1);
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 2.4K bytes - Viewed (0) -
ci/official/utilities/cleanup_docker.sh
cat <<EOF IMPORTANT: These tests ran under docker. This script does not clean up the container for you! You can delete the container with: $ docker rm -f tf You can also execute more commands within the container with e.g.: $ docker exec tf bazel clean $ docker exec -it tf bash EOF
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Aug 10 20:26:29 UTC 2023 - 998 bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/guide/GetExample.java
String run(String url) throws IOException { Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { return response.body().string(); } } public static void main(String[] args) throws IOException { GetExample example = new GetExample();
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 1.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java
ForwardingFluentFuture(ListenableFuture<V> delegate) { this.delegate = checkNotNull(delegate); } @Override public void addListener(Runnable listener, Executor executor) { delegate.addListener(listener, executor); } @Override public boolean cancel(boolean mayInterruptIfRunning) { return delegate.cancel(mayInterruptIfRunning); } @Override public boolean isCancelled() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
apache-maven/src/assembly/maven/bin/mvnup.cmd
@REM Apache Maven Upgrade Script @REM @REM Environment Variable Prerequisites @REM @REM JAVA_HOME (Optional) Points to a Java installation. @REM MAVEN_OPTS (Optional) Java runtime options used when Maven is executed. @REM MAVEN_SKIP_RC (Optional) Flag to disable loading of mavenrc files. @REM -----------------------------------------------------------------------------
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Jun 07 06:22:47 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java
// Test execute method with valid phrase query PhraseQuery.Builder builder = new PhraseQuery.Builder(); builder.add(new Term(Constants.DEFAULT_FIELD, "test")); PhraseQuery phraseQuery = builder.build(); QueryContext context = new QueryContext("test", false); QueryBuilder result = queryCommand.execute(context, phraseQuery, 1.0f);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.2K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt
.body("Hello".toResponseBody()) .header("Content-Encoding", "piedpiper") .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() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 3K bytes - Viewed (0) -
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdTestMain.kt
sendRequest("https://www.instagram.com/robots.txt", client) } private fun sendRequest( url: String, client: OkHttpClient, ) { val req = Request.Builder().url(url).build() client.newCall(req).execute().use { println(url) println("""Content-Encoding: ${it.networkResponse?.header("Content-Encoding")}""") println("| ${it.body.string().replace("\n", "\n| ")}") }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 20:01:04 UTC 2025 - 1.3K bytes - Viewed (0)