- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 840 for executes (0.07 sec)
-
src/main/java/org/codelibs/fess/helper/AbstractConfigHelper.java
} /** * The interval for reloading. */ protected long reloadInterval = 1000L; /** * Update the configuration. */ public void update() { CommonPoolUtil.execute(this::load); } /** * Wait for the next reloading. */ protected void waitForNext() { if (reloadInterval > 0) { ThreadUtil.sleep(reloadInterval); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.9K 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 Sep 05 11:42:10 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 Sep 05 11:42:10 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 25 18:02:55 UTC 2019 - 1.7K 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
Jenkinsfile
} /** * To other developers, if you are using this method above, please use the following syntax. * By default this method does NOT execute ITs anymore, just "install". * * mavenBuild("<jdk>", "<profiles> <goals> <plugins> <properties>" * * @param jdk the jdk tool name (in jenkins) to use for this build * @param extraArgs extra command line args */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jul 10 12:31:48 UTC 2025 - 2K bytes - Viewed (0) -
compat/maven-compat/src/main/resources/META-INF/maven/plugin-expressions/settings.paramdoc.xml
<configuration> <![CDATA[ <offline>true</offline> ]]></configuration> <description> <![CDATA[ Flags the system as offline, to prevent accessing the network to resolve artifacts or execute plugins. NOTE: It's also possible to switch to offline mode on a per-build basis, using the '-o' command-line option. ]]></description> </expression> <expression>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManager.java
/** * Retrieve toolchain of specified type from build context. It is expected that * <code>maven-toolchains-plugin</code> contains the configuration to select the appropriate * toolchain and is executed at the beginning of the build. * * @param type the type, must not be {@code null} * @param context the Maven session, must not be {@code null}
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Feb 12 13:13:28 UTC 2025 - 2.4K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptOptions.java
* * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty */ Optional<Boolean> yes(); /** * Returns the list of encryption goals to be executed. * These goals can include operations like "init", "add-server", "delete-server", etc. * * @return an {@link Optional} containing the list of goals, or empty if not specified */ @Nonnull
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jun 11 13:14:09 UTC 2025 - 2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FailingCall.kt
* limitations under the License. */ package okhttp3 import okio.Timeout open class FailingCall : Call { override fun request(): Request = error("unexpected") override fun execute(): Response = error("unexpected") override fun enqueue(responseCallback: Callback): Unit = error("unexpected") override fun cancel(): Unit = error("unexpected")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 1.1K bytes - Viewed (0)