Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for asFactory (0.29 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

    internal fun HttpUrl.canReuseConnectionFor(other: HttpUrl): Boolean =
      host == other.host &&
        port == other.port &&
        scheme == other.scheme
    
    internal fun EventListener.asFactory() = EventListener.Factory { this }
    
    /**
     * Reads until this is exhausted or the deadline has been reached. This is careful to not extend the
     * deadline if one exists already.
     */
    @Throws(IOException::class)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.X509TrustManager
    import kotlin.time.Duration as KotlinDuration
    import okhttp3.Protocol.HTTP_1_1
    import okhttp3.Protocol.HTTP_2
    import okhttp3.internal.asFactory
    import okhttp3.internal.checkDuration
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.connection.RealCall
    import okhttp3.internal.connection.RouteDatabase
    import okhttp3.internal.immutableListOf
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java

                return visitor;
            }
    
            @Override
            public Service getFactory(Class<?> elementType) {
                if (!isFactory(serviceType, elementType)) {
                    return null;
                }
                return prepare();
            }
    
            private boolean isFactory(Type type, Class<?> elementType) {
                Class<?> c = unwrap(type);
                if (!Factory.class.isAssignableFrom(c)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top