- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 645 for Execute (0.06 seconds)
-
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) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java
@Nested @DisplayName("Strategy Ordering") class StrategyOrderingTests { @Test @DisplayName("should execute strategies in priority order") void shouldExecuteStrategiesInPriorityOrder() throws Exception { // This test verifies that strategies are executed in the order they are provided // The actual priority ordering is handled by dependency injectionCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.3K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java
import java.util.HashSet; import java.util.Set; public class AcceptedRegressionsRulePostProcess implements PostProcessViolationsRule { @Override @SuppressWarnings("unchecked") public void execute(ViolationCheckContextWithViolations context) { Set<ApiChange> acceptedApiChanges = (Set<ApiChange>) context.getUserData().get("acceptedApiChanges");Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Jun 09 08:16:49 GMT 2021 - 1.7K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt
* so that they are alphabetically sorted (by type, then member). */ @CacheableTask abstract class SortAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() { @TaskAction fun execute() { val gson: Gson = GsonBuilder().setFormattingStyle(FormattingStyle.PRETTY.withIndent(" ")).create() loadChanges().mapValues { gson.toJson(AcceptedApiChanges(sortChanges(it.value)))
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Apr 09 14:09:16 GMT 2025 - 1.5K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/Authenticate.java
public void run() throws Exception { Request request = new Request.Builder() .url("http://publicobject.com/secrets/hellosecret.txt") .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: Thu Aug 12 07:26:27 GMT 2021 - 1.9K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 02 14:04:37 GMT 2023 - 2.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/PathTranslatingPostProcessor.java
this.unprefixedPathKeys = unprefixedPathKeys; this.projectDir = projectDir; this.pathTranslator = pathTranslator; } @Override public Object execute(String expression, Object value) { expression = ValueSourceUtils.trimPrefix(expression, expressionPrefixes, true); if (projectDir != null && value != null && unprefixedPathKeys.contains(expression)) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.1K bytes - Click Count (0) -
android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt
val client = clientBuilder.build() val request = Request .Builder() .url("https://valid-isrgrootx1.letsencrypt.org/robots.txt") .build() client.newCall(request).execute().use { response -> assertThat(response.code).isEqualTo(404) assertThat(response.protocol).isEqualTo(Protocol.HTTP_2) } }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.4K bytes - Click Count (0)