Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 374 for chainG (0.04 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

    import okhttp3.internal.skipAll
    import okio.buffer
    
    /** This is the last interceptor in the chain. It makes a network call to the server. */
    object CallServerInterceptor : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val realChain = chain as RealInterceptorChain
        val exchange = realChain.exchange!!
        val request = realChain.request
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

     * response.
     */
    class BridgeInterceptor(
      private val cookieJar: CookieJar,
    ) : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val userRequest = chain.request()
        val requestBuilder = userRequest.newBuilder()
    
        val body = userRequest.body
        if (body != null) {
          val contentType = body.contentType()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/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>()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java

                normalizer = new LangAnalyzerNormalizer(null);
            } else {
                final NormalizerChain chain = new NormalizerChain();
                for (final String lang : langs) {
                    chain.add(new LangAnalyzerNormalizer(lang));
                }
                normalizer = chain;
            }
            return normalizer.normalize(text, field);
        }
    
        /**
         * Language-specific analyzer normalizer.
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

     *    server's hostname. The server must also have is a (possibly-empty) chain of intermediate
     *    certificates to establish trust from a root certificate to the server's certificate. The root
     *    certificate is not included in this chain.
     *  * The client's handshake certificates must include a set of trusted root certificates. They will
     *    be used to authenticate the server's certificate chain. Typically this is a set of well-known
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  6. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

        )
        fun getLevel(): Level = level
    
        @Throws(IOException::class)
        override fun intercept(chain: Interceptor.Chain): Response {
          val level = this.level
    
          val request = chain.request()
          if (level == Level.NONE) {
            return chain.proceed(request)
          }
    
          val logBody = level == Level.BODY
          val logHeaders = logBody || level == Level.HEADERS
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/auth/chain/LdapChain.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.auth.chain;
    
    import org.codelibs.fess.opensearch.user.exentity.User;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * An authentication chain for LDAP.
     */
    public class LdapChain implements AuthenticationChain {
    
        /**
         * Default constructor.
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. samples/guide/src/main/java/okhttp3/recipes/Progress.java

              }
            }
          }
        };
    
        OkHttpClient client = new OkHttpClient.Builder()
            .addNetworkInterceptor(chain -> {
              Response originalResponse = chain.proceed(chain.request());
              return originalResponse.newBuilder()
                  .body(new ProgressResponseBody(originalResponse.body(), progressListener))
                  .build();
            })
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 3.9K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

        client =
          client
            .newBuilder()
            .addInterceptor(
              Interceptor { chain: Interceptor.Chain? ->
                chain!!
                  .proceed(chain.request())
                  .use { a -> assertThat(a.body.string()).isEqualTo("a") }
                chain.proceed(chain.request())
              },
            ).build()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 70.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java

        /**
         * Combine this referral with another to form a chain
         *
         * @param next the referral to combine with
         * @return new referral, combining a chain of referrals
         */
        DfsReferralDataInternal combine(DfsReferralData next);
    
        /**
         * Append another referral to this referral chain
         *
         * @param dr the referral to append
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.2K bytes
    - Click Count (0)
Back to Top