- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 932 for executeOn (0.07 sec)
-
regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java
private void sendRequest(OkHttpClient client, String url) throws IOException { Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { assertTrue(response.code() == 200 || response.code() == 404); assertEquals(Protocol.HTTP_2, response.protocol()); for (Certificate c: response.handshake().peerCertificates()) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 26 06:37:08 UTC 2021 - 1.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java
public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); Response response = client.newCall(request).execute(); response.body().close(); } private static class LoggingInterceptor implements Interceptor { @Override public Response intercept(Chain chain) throws IOException { long t1 = System.nanoTime();
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jan 01 15:55:32 UTC 2016 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
// not be accurate). Service b = new NoOpDelayedService(353) { @Override protected void doStart() { super.doStart(); // This will delay service listener execution at least 150 milliseconds Uninterruptibles.sleepUninterruptibly(150, MILLISECONDS); } }; Service a = new NoOpDelayedService(150) { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 25.5K bytes - Viewed (0) -
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
} private void parallelDrainQueue(int threadCount) { ExecutorService executor = Executors.newFixedThreadPool(threadCount); for (int i = 0; i < threadCount; i++) { executor.execute(() -> { try { drainQueue(); } catch (Throwable e) { e.printStackTrace(); } }); } executor.shutdown(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jul 23 00:58:06 UTC 2025 - 5K bytes - Viewed (0) -
compat/maven-compat/pom.xml
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun Jun 29 22:37:39 UTC 2025 - 7.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Feb 05 09:45:47 UTC 2024 - 3.8K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Scope.java
* Built-in scopes include: * <ul> * <li>{@link Singleton} - One instance per container</li> * <li>{@link SessionScoped} - One instance per Maven session</li> * <li>{@link MojoExecutionScoped} - One instance per plugin execution</li> * </ul> * * @see Singleton * @see SessionScoped * @see MojoExecutionScoped * @since 4.0.0 */ @Target(ANNOTATION_TYPE) @Retention(RUNTIME) @Documented
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jan 30 23:28:59 UTC 2025 - 1.7K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Parser.java
package org.apache.maven.api.cli; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; /** * Defines the contract for parsing Maven command-line arguments and creating an execution or invoker requests. * * @since 4.0.0 */ @Experimental public interface Parser { /** * Parses the given ParserRequest to create an {@link InvokerRequest}.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jan 31 20:56:58 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/JobProcess.java
*/ package org.codelibs.fess.util; import java.util.function.Consumer; import org.codelibs.fess.Constants; /** * A wrapper class that manages a system process for job execution. * This class provides access to the underlying process and manages * the input stream thread for capturing process output. */ public class JobProcess { /** * The underlying system process. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerPrivate.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.toolchain; import org.apache.maven.execution.MavenSession; /** * Component for use by the <code>maven-toolchains-plugin</code> only. * It provides API: <ol> * <li>to retrieve every toolchains available in user settings,</li>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Feb 12 13:13:28 UTC 2025 - 2.2K bytes - Viewed (0)