- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 989 for executes (0.04 seconds)
-
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
.proxy(server.proxyAddress) .readTimeout(Duration.ofMillis(100)) .build() val request = Request.Builder().url("http://android.com/").build() proxiedClient.newCall(request).execute().use { response -> assertThat(response.body.string()).isEqualTo("Result") } val recordedRequest = server.takeRequest() assertThat(recordedRequest.url).isEqualTo("http://android.com/".toHttpUrl()) }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Aug 03 22:38:00 GMT 2025 - 28K bytes - Click Count (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) }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.7K bytes - Click Count (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) } }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.5K bytes - Click Count (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 {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 31 15:32:50 GMT 2018 - 1.8K bytes - Click Count (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()); } }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat May 25 18:02:55 GMT 2019 - 1.7K bytes - Click Count (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 */
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 10 12:31:48 GMT 2025 - 2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java
.setInterval(interval) .setThreads(threads) .setTimeout(timeout) .setType(type) .execute() .actionGet(timeout); append(buf, "cluster_name", () -> response.getClusterName().value()).append(','); final String hotThreads = response.getNodesMap().entrySet().stream().map(e -> {
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 3.7K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt
.header("Authorization", "Client-ID $IMGUR_CLIENT_ID") .url("https://api.imgur.com/3/image") .post(ProgressRequestBody(requestBody, progressListener)) .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } private class ProgressRequestBody(
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Aug 30 17:01:12 GMT 2025 - 3.8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/MojoExecutorStub.java
lifeCycleDependencyResolver, eventCatapult, mojosExecutionStrategy, messageBuilderFactory); } @Override public void execute(MavenSession session, List<MojoExecution> mojoExecutions) throws LifecycleExecutionException { executions.addAll(mojoExecutions); } @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 3.5K bytes - Click Count (0) -
docs/pt/docs/deployment/server-workers.md
Em particular, ao executar no **Kubernetes** você provavelmente **não** vai querer usar vários trabalhadores e, em vez disso, executar **um único processo Uvicorn por contêiner**, mas falarei sobre isso mais adiante neste capítulo. /// ## Vários trabalhadores { #multiple-workers }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 8.6K bytes - Click Count (0)