Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 80 for Chalin (0.2 sec)

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

        client: OkHttpClient,
        chain: RealInterceptorChain,
      ): ExchangeCodec {
        val socket = this.socket!!
        val source = this.source!!
        val sink = this.sink!!
        val http2Connection = this.http2Connection
    
        return if (http2Connection != null) {
          Http2ExchangeCodec(client, this, chain, http2Connection)
        } else {
          socket.soTimeout = chain.readTimeoutMillis()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        } catch (ignored: IllegalArgumentException) {
        }
      }
    
      @Test fun clonedInterceptorsListsAreIndependent() {
        val interceptor =
          Interceptor { chain: Interceptor.Chain ->
            chain.proceed(chain.request())
          }
        val original = clientTestRule.newClient()
        original.newBuilder()
          .addInterceptor(interceptor)
          .addNetworkInterceptor(interceptor)
          .build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  3. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        assumeNetwork()
    
        val trustManager =
          object : X509TrustManager {
            override fun checkClientTrusted(
              chain: Array<out X509Certificate>?,
              authType: String?,
            ) {}
    
            override fun checkServerTrusted(
              chain: Array<out X509Certificate>?,
              authType: String?,
            ) {}
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 27K bytes
    - Viewed (1)
  4. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

     */
    class RetryAndFollowUpInterceptor(private val client: OkHttpClient) : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val realChain = chain as RealInterceptorChain
        var request = chain.request
        val call = realChain.call
        var followUpCount = 0
        var priorResponse: Response? = null
        var newRoutePlanner = true
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12.1K bytes
    - Viewed (4)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

       */
      abstract void collectOneValue(int index, @ParametricNullness InputT returnValue);
    
      abstract void handleAllCompleted();
    
      /** Adds the chain to the seen set, and returns whether all the chain was new to us. */
      private static boolean addCausalChain(Set<Throwable> seen, Throwable param) {
        // Declare a "true" local variable so that the Checker Framework will infer nullness.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        val interceptedCount = AtomicInteger()
        client =
          client.newBuilder()
            .addInterceptor(
              Interceptor { chain: Interceptor.Chain ->
                assertThat(chain.request().body).isNull()
                val response = chain.proceed(chain.request())
                assertThat(response.header("Connection")).isEqualTo("Upgrade")
                assertThat(response.body).isInstanceOf<UnreadableResponseBody>()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  7. okhttp/src/test/java/okhttp3/DispatcherTest.kt

        client =
          client.newBuilder()
            .addInterceptor(
              Interceptor { chain: Interceptor.Chain ->
                ready.countDown()
                try {
                  proceed.await(5, TimeUnit.SECONDS)
                } catch (e: InterruptedException) {
                  throw RuntimeException(e)
                }
                chain.proceed(chain.request())
              },
            )
            .build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        this.server = server
        client =
          OkHttpClient.Builder()
            .addNetworkInterceptor(
              Interceptor { chain ->
                when {
                  extraNetworkInterceptor != null -> extraNetworkInterceptor!!.intercept(chain)
                  else -> chain.proceed(chain.request())
                }
              },
            )
            .addNetworkInterceptor(networkInterceptor)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmHttpFilter.java

    
        /**
         * This method simply calls <tt>negotiate( req, resp, false )</tt>
         * and then <tt>chain.doFilter</tt>. You can override and call
         * negotiate manually to achive a variety of different behavior.
         */
        @Override
        public void doFilter ( ServletRequest request, ServletResponse response, FilterChain chain ) throws IOException, ServletException {
            HttpServletRequest req = (HttpServletRequest) request;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            this.mid = mid;
        }
    
    
        /**
         * @param n
         * @return whether chaining was successful
         */
        public boolean chain ( ServerMessageBlock2 n ) {
            if ( this.next != null ) {
                return this.next.chain(n);
            }
    
            n.addFlags(SMB2_FLAGS_RELATED_OPERATIONS);
            this.next = n;
            return true;
        }
    
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Sep 30 10:47:31 GMT 2018
    - 19.9K bytes
    - Viewed (0)
Back to top