Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 319 for Proxy (0.22 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

       * can't coalesce connections that use a proxy, since proxies don't tell us the origin server's IP
       * address.
       */
      private fun routeMatchesAny(candidates: List<Route>): Boolean =
        candidates.any {
          it.proxy.type() == Proxy.Type.DIRECT &&
            route.proxy.type() == Proxy.Type.DIRECT &&
            route.socketAddress == it.socketAddress
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. cmd/admin-handlers-config-kv.go

    // setLoggerWebhookSubnetProxy - Sets the logger webhook's subnet proxy value to
    // one being set for subnet proxy
    func setLoggerWebhookSubnetProxy(subSys string, cfg config.Config) bool {
    	if subSys == config.SubnetSubSys || subSys == config.LoggerWebhookSubSys {
    		subnetWebhookCfg := cfg[config.LoggerWebhookSubSys][subnet.LoggerWebhookName]
    		loggerWebhookSubnetProxy := subnetWebhookCfg.Get(logger.Proxy)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 15.8K bytes
    - Viewed (1)
  3. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

     */
    package okhttp3.internal.platform
    
    import java.lang.reflect.InvocationHandler
    import java.lang.reflect.InvocationTargetException
    import java.lang.reflect.Method
    import java.lang.reflect.Proxy
    import javax.net.ssl.SSLSocket
    import okhttp3.Protocol
    
    /** OpenJDK 8 with `org.mortbay.jetty.alpn:alpn-boot` in the boot class path. */
    class Jdk8WithJettyBootPlatform(
      private val putMethod: Method,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RequestLine.kt

    package okhttp3.internal.http
    
    import java.net.Proxy
    import okhttp3.HttpUrl
    import okhttp3.Request
    
    object RequestLine {
      /**
       * Returns the request status line, like "GET / HTTP/1.1". This is exposed to the application by
       * [HttpURLConnection.getHeaderFields], so it needs to be set even if the transport is
       * HTTP/2.
       */
      fun get(
        request: Request,
        proxyType: Proxy.Type,
      ): String =
        buildString {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jun 17 00:47:36 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

      private static <T> void testToString(
          Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
        T proxy = new FreshValueGenerator().newFreshProxy(interfaceType);
        assertEquals(
            "toString() isn't properly forwarded",
            proxy.toString(),
            wrapperFunction.apply(proxy).toString());
      }
    
      private static @Nullable Object[] getParameterValues(Method method) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        assertThat(connect1.headers["Proxy-Authorization"]).isNull()
        val connect2 = server.takeRequest()
        assertThat(connect2.requestLine).isEqualTo("CONNECT android.com:443 HTTP/1.1")
        assertThat(connect2.headers["Proxy-Authorization"]).isEqualTo("password")
        val get = server.takeRequest()
        assertThat(get.requestLine).isEqualTo("GET /foo HTTP/2")
        assertThat(get.headers["Proxy-Authorization"]).isNull()
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        assertThat(call).contains("prompt=Bar")
        assertThat(call).contains("protocol=http")
        assertThat(call.lowercase(Locale.US)).contains("scheme=basic")
      }
    
      private fun authCallsForHeader(authHeader: String): List<String> {
        val proxy = authHeader.startsWith("Proxy-")
        val responseCode = if (proxy) 407 else 401
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt

            .isEqualTo("Unexpected char 0xe9 at 4 in Cookie value")
        }
        assertFailsWith<IllegalArgumentException> {
          Headers.Builder().add("Proxy-Authorization", "valué1")
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("Unexpected char 0xe9 at 4 in Proxy-Authorization value")
        }
        assertFailsWith<IllegalArgumentException> {
          Headers.Builder().add("Set-Cookie", "valué1")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

      private static <T> void testToString(
          Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
        T proxy = new FreshValueGenerator().newFreshProxy(interfaceType);
        assertEquals(
            "toString() isn't properly forwarded",
            proxy.toString(),
            wrapperFunction.apply(proxy).toString());
      }
    
      private static @Nullable Object[] getParameterValues(Method method) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

                )
            }
    
        private
        inline fun <reified T : Any> CtClass.ctAnnotation(): Annotation? =
            getAnnotation(T::class.java)
                ?.takeIf { Proxy.isProxyClass(it::class.java) }
                ?.let { Proxy.getInvocationHandler(it) as? AnnotationImpl }
                ?.annotation
    
        private
        val CtMember.jvmSignature: String
            get() = when (this) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jul 04 09:21:38 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top