- Sort Score
- Num 10 results
- Language All
Results 451 - 460 of 939 for Executes (0.06 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt
private val connectionCount = AtomicInteger() private val openSockets: MutableSet<Socket> = ConcurrentHashMap.newKeySet() fun play() { serverSocket = ServerSocket(0) executor.execute { val threadName = "SocksProxy ${serverSocket!!.localPort}" Thread.currentThread().name = threadName try { while (true) { val socket = serverSocket!!.accept()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 7.6K bytes - Click Count (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| ")}") }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Jul 29 20:01:04 GMT 2025 - 1.3K bytes - Click Count (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://google.com/robots.txt") .build(); try (Response response = client.newCall(request).execute()) { assertEquals(200, response.code()); assertEquals(Protocol.HTTP_2, response.protocol()); } }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 14 17:38:22 GMT 2020 - 1.4K bytes - Click Count (0) -
samples/slack/src/main/java/okhttp3/slack/SlackApi.java
.build(); Request request = new Request.Builder() .url(url) .build(); Call call = httpClient.newCall(request); try (Response response = call.execute()) { JsonAdapter<OAuthSession> jsonAdapter = moshi.adapter(OAuthSession.class); return jsonAdapter.fromJson(response.body().source()); } } /** See https://api.slack.com/methods/rtm.start. */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jul 06 19:30:55 GMT 2018 - 4.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostForm.java
.build(); Request request = new Request.Builder() .url("https://en.wikipedia.org/w/index.php") .post(formBody) .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: Sun May 22 01:29:42 GMT 2016 - 1.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultMojosExecutionStrategy.java
*/ @Named @Singleton public class DefaultMojosExecutionStrategy implements MojosExecutionStrategy { @Override public void execute(List<MojoExecution> mojos, MavenSession session, MojoExecutionRunner mojoRunner) throws LifecycleExecutionException { for (MojoExecution mojoExecution : mojos) { mojoRunner.run(mojoExecution);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 46.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
/** Extended security negotiation flag */ int FLAGS2_EXTENDED_SECURITY_NEGOTIATION = 0x0800; /** Resolve paths in DFS flag */ int FLAGS2_RESOLVE_PATHS_IN_DFS = 0x1000; /** Permit read if execute permission flag */ int FLAGS2_PERMIT_READ_IF_EXECUTE_PERM = 0x2000; /** 32-bit status codes flag */ int FLAGS2_STATUS32 = 0x4000; /** Unicode strings flag */ int FLAGS2_UNICODE = 0x8000;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java
if (context.goals == null) { super.lookup(context); context.goals = context.lookup.lookupMap(Goal.class); } } @Override protected int execute(EncryptContext context) throws Exception { try { context.header = new ArrayList<>(); context.style = new AttributedStyle(); context.addInHeader(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 4.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java
if (context.goals == null) { super.lookup(context); context.goals = context.lookup.lookupMap(Goal.class); } } @Override protected int execute(UpgradeContext context) throws Exception { try { context.header = new ArrayList<>(); context.style = new AttributedStyle(); context.addInHeader(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 4.4K bytes - Click Count (0)