Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 321 for proxya (0.06 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt

    import java.io.IOException
    import java.net.Proxy
    import java.net.ProxySelector
    import java.net.SocketAddress
    import java.net.URI
    
    class FakeProxySelector : ProxySelector() {
      val proxies: MutableList<Proxy> = mutableListOf()
    
      fun addProxy(proxy: Proxy): FakeProxySelector {
        proxies.add(proxy)
        return this
      }
    
      override fun select(uri: URI): List<Proxy> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java

        return proxyClass.isInstance(arg)
            // Equal proxy instances should mostly be instance of proxyClass
            // Under some edge cases (such as the proxy of JDK types serialized and then deserialized)
            // the proxy type may not be the same.
            // We first check isProxyClass() so that the common case of comparing with non-proxy objects
            // is efficient.
            || (Proxy.isProxyClass(arg.getClass())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  3. container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt

        }
      }
    
      @Test
      fun testUrlConnectionPlaintextProxied() {
        testRequest {
          val proxy =
            Proxy(
              Proxy.Type.HTTP,
              it.remoteAddress(),
            )
    
          val url = URI(mockServer.endpoint + "/person?name=peter").toURL()
    
          val connection = url.openConnection(proxy) as HttpURLConnection
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/proxy/NullProxySelector.kt

     * limitations under the License.
     */
    package okhttp3.internal.proxy
    
    import java.io.IOException
    import java.net.Proxy
    import java.net.ProxySelector
    import java.net.SocketAddress
    import java.net.URI
    
    /**
     * A proxy selector that always returns the [Proxy.NO_PROXY].
     */
    object NullProxySelector : ProxySelector() {
      override fun select(uri: URI?): List<Proxy> {
        requireNotNull(uri) { "uri must not be null" }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/https.md

        * Otherwise, you might have to stop the TLS Termination Proxy momentarily, start the renewal program to acquire the certificates, then configure them with the TLS Termination Proxy, and then restart the TLS Termination Proxy. This is not ideal, as your app(s) will not be available during the time that the TLS Termination Proxy is off.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

      }
    
      override fun connectEnd(
        call: Call,
        inetSocketAddress: InetSocketAddress,
        proxy: Proxy,
        protocol: Protocol?,
      ) {
        logWithTime("connectEnd: $protocol")
      }
    
      override fun connectFailed(
        call: Call,
        inetSocketAddress: InetSocketAddress,
        proxy: Proxy,
        protocol: Protocol?,
        ioe: IOException,
      ) {
        logWithTime("connectFailed: $protocol $ioe")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionResult.java

        /**
         * Gets the decrypted proxy. This is a convenience method to retrieve the first element from {@link #getProxies()}.
         *
         * @return The decrypted proxy or {@code null}.
         */
        Proxy getProxy();
    
        /**
         * Gets the decrypted proxies.
         *
         * @return The decrypted proxy, can be empty but never {@code null}.
         */
        List<Proxy> getProxies();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/EventListener.kt

      }
    
      /**
       * Invoked after proxy selection.
       *
       * Note that the list of proxies is never null, but it may be a list containing
       * only [Proxy.NO_PROXY]. This comes up in several situations:
       *
       * * If neither a proxy nor proxy selector is configured.
       * * If the proxy is configured explicitly as [Proxy.NO_PROXY].
       * * If the proxy selector returns only [Proxy.NO_PROXY].
       * * If the proxy selector returns an empty list or null.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

        }
    
        public void setAuthentication(Authentication authentication) {
            this.authentication = authentication;
        }
    
        public Proxy getProxy() {
            return proxy;
        }
    
        public void setProxy(Proxy proxy) {
            this.proxy = proxy;
        }
    
        public boolean isBlacklisted() {
            return false;
        }
    
        public void setBlacklisted(boolean blackListed) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt

        override val timestampNs: Long,
        override val call: Call,
        val inetSocketAddress: InetSocketAddress,
        val proxy: Proxy?,
      ) : CallEvent()
    
      data class ConnectEnd(
        override val timestampNs: Long,
        override val call: Call,
        val inetSocketAddress: InetSocketAddress,
        val proxy: Proxy?,
        val protocol: Protocol?,
      ) : CallEvent() {
        override fun closes(event: CallEvent): Boolean =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top