Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 383 for factory (0.07 seconds)

  1. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

            .withValueStrengths(ImmutableSet.of(STRONG, Strength.WEAK, Strength.SOFT));
      }
    
      private Iterable<LoadingCache<Key, String>> caches() {
        CacheBuilderFactory factory = factoryWithAllKeyStrengths();
        return Iterables.transform(
            factory.buildAllPermutations(),
            new Function<CacheBuilder<Object, Object>, LoadingCache<Key, String>>() {
              @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

     *
     * This class is pretty fast and loose with default values: it attempts to provide values that are
     * well-formed, but doesn't guarantee values are internally consistent. Callers must take care to
     * configure the factory when sample values impact the correctness of the test.
     */
    class TestValueFactory : Closeable {
      var taskFaker: TaskFaker = TaskFaker()
      var taskRunner: TaskRunner = taskFaker.taskRunner
      var dns: Dns = Dns.SYSTEM
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  3. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

          DeferredSocketAdapter(AndroidSocketAdapter.playProviderFactory),
          // Delay and Defer any initialisation of Conscrypt and BouncyCastle
          DeferredSocketAdapter(ConscryptSocketAdapter.factory),
          DeferredSocketAdapter(BouncyCastleSocketAdapter.factory),
        ).filter { it.isSupported() }
    
      @Throws(IOException::class)
      override fun connectSocket(
        socket: Socket,
        address: InetSocketAddress,
        connectTimeout: Int,
      ) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 10 05:19:46 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

            .connectionSpecs(Collections.singletonList(spec))
            .sslSocketFactory(customSslSocketFactory, trustManager)
            .build();
      }
    
      /**
       * Returns the VM's default SSL socket factory, using {@code trustManager} for trusted root
       * certificates.
       */
      private SSLSocketFactory defaultSslSocketFactory(X509TrustManager trustManager)
          throws NoSuchAlgorithmException, KeyManagementException {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Mar 14 21:57:42 GMT 2019
    - 6.5K bytes
    - Click Count (0)
  5. docs/changelogs/upgrading_to_okhttp_4.md

        })
        .build()
    ```
    
    SAM conversion impacts these APIs:
    
     * Authenticator
     * Dispatcher.setIdleCallback(Runnable)
     * Dns
     * EventListener.Factory
     * HttpLoggingInterceptor.Logger
     * LoggingEventListener.Factory
     * OkHttpClient.Builder.hostnameVerifier(HostnameVerifier)
    
    JetBrains [is working on][kotlin_sams] SAM conversions of Kotlin interfaces. Expect it in a future
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  6. module-tests/src/main/java/okhttp3/modules/OkHttpCaller.java

     */
    public class OkHttpCaller {
      public static Call callOkHttp(HttpUrl url) {
        OkHttpClient client = new OkHttpClient
          .Builder()
          .eventListenerFactory(new LoggingEventListener.Factory(HttpLoggingInterceptor.Logger.DEFAULT))
          .build();
        return client.newCall(new Request.Builder().url(url).build());
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ContainerCapsuleFactory.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker;
    
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Container capsule factory.
     *
     * @param <C> The context type.
     */
    public interface ContainerCapsuleFactory<C extends LookupContext> {
        /**
         * Creates container capsule.
         */
        @Nonnull
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Mar 13 12:50:59 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

            .withValueStrengths(ImmutableSet.of(STRONG, Strength.WEAK, Strength.SOFT));
      }
    
      private Iterable<LoadingCache<Key, String>> caches() {
        CacheBuilderFactory factory = factoryWithAllKeyStrengths();
        return Iterables.transform(
            factory.buildAllPermutations(),
            new Function<CacheBuilder<Object, Object>, LoadingCache<Key, String>>() {
              @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ModelCacheFactory.java

     * under the License.
     */
    package org.apache.maven.repository.internal;
    
    import org.apache.maven.model.building.ModelCache;
    import org.eclipse.aether.RepositorySystemSession;
    
    /**
     * Factory for {@link ModelCache} objects.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelCacheFactory {
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainFactoryException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    /**
     * Exception thrown when toolchain factory operations fail.
     *
     * <p>This exception wraps errors that occur during toolchain creation or initialization.</p>
     */
    public class ToolchainFactoryException extends MavenException {
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top