Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 123 for interrupt (0.32 sec)

  1. 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) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            thread1.start();
            thread2.start();
    
            try {
                thread1.join();
                thread2.join();
            } catch (InterruptedException e) {
                fail("Thread interrupted");
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

      }
    
      /** This interceptor compresses the HTTP request body. Many webservers can't handle this! */
      static class GzipRequestInterceptor implements Interceptor {
        @Override public Response intercept(Chain chain) throws IOException {
          Request originalRequest = chain.request();
          if (originalRequest.body() == null || originalRequest.header("Content-Encoding") != null) {
            return chain.proceed(originalRequest);
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

             * Interrupted exceptions are caught and logged at debug level.
             */
            public void awaitTermination() {
                try {
                    join();
                } catch (final InterruptedException e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Interrupted.", e);
                    }
                }
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

        val next = copy(index = index + 1, request = request)
        val interceptor = interceptors[index]
    
        @Suppress("USELESS_ELVIS")
        val response =
          interceptor.intercept(next) ?: throw NullPointerException(
            "interceptor $interceptor returned null",
          )
    
        if (exchange != null) {
          check(index + 1 >= interceptors.size || next.calls == 1) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. okhttp-logging-interceptor/api/logging-interceptor.api

    	public synthetic fun <init> (Lokhttp3/logging/HttpLoggingInterceptor$Logger;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
    	public final fun getLevel ()Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public fun intercept (Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;
    	public final fun level (Lokhttp3/logging/HttpLoggingInterceptor$Level;)V
    	public final fun redactHeader (Ljava/lang/String;)V
    	public final fun redactQueryParams ([Ljava/lang/String;)V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

      // TODO: Test getWaitQueueLength(Guard).
      // TODO: Test automatic signaling before leave, waitFor, and reentrant enterWhen.
      // TODO: Test blocking to re-enter monitor after being signaled.
      // TODO: Test interrupts with both interruptible and uninterruptible monitor.
      // TODO: Test multiple waiters: If guard is still satisfied, signal next waiter.
      // TODO: Test multiple waiters: If guard is no longer satisfied, do not signal next waiter.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt

      vararg val algorithms: DecompressionAlgorithm,
    ) : Interceptor {
      internal val acceptEncoding =
        algorithms
          .map {
            it.encoding
          }.joinToString(separator = ", ")
    
      override fun intercept(chain: Interceptor.Chain): Response =
        if (algorithms.isNotEmpty() && chain.request().header("Accept-Encoding") == null) {
          val request =
            chain
              .request()
              .newBuilder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

    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
        val requestBody = request.body
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            // Wait for all threads to complete
            for (Thread thread : threads) {
                try {
                    thread.join();
                } catch (InterruptedException e) {
                    fail("Thread interrupted: " + e.getMessage());
                }
            }
    
            // Verify all threads got the same instances
            for (int i = 0; i < threadCount; i++) {
                assertSame(invertibleCryptographer, invertibles[i]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top