Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for processResponse (0.17 sec)

  1. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

     */
    package okhttp3.sse.internal
    
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Request
    import okhttp3.sse.EventSources.processResponse
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt

          RealEventSource(actualRequest, listener).apply {
            connect(callFactory)
          }
        }
      }
    
      @JvmStatic
      fun processResponse(
        response: Response,
        listener: EventSourceListener,
      ) {
        val eventSource = RealEventSource(response.request, listener)
        eventSource.processResponse(response)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:18:15 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

          callFactory.newCall(request).apply {
            enqueue(this@RealEventSource)
          }
      }
    
      override fun onResponse(
        call: Call,
        response: Response,
      ) {
        processResponse(response)
      }
    
      fun processResponse(response: Response) {
        response.use {
          if (!response.isSuccessful) {
            listener.onFailure(this, null, response)
            return
          }
    
          val body = response.body
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

                response: Response,
              ) {
                processResponse(response, hostname, responses, failures)
                latch.countDown()
              }
            },
          )
        }
    
        try {
          latch.await()
        } catch (e: InterruptedException) {
          failures.add(e)
        }
      }
    
      private fun processResponse(
        response: Response,
        hostname: String,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                        processResponse(urlQueue, responseData);
    
                        return false;
                    }
                } finally {
                    if (responseData != null) {
                        CloseableUtil.closeQuietly(responseData);
                    }
                }
            }
            return true;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

            });
            final OptionalEntity<SearchResponse> searchResponseOpt = sendRequest(query, params, userBean);
            return processResponse(searchResponseOpt);
        }
    
        protected SearchResult processResponse(final OptionalEntity<SearchResponse> searchResponseOpt) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. okhttp-sse/api/okhttp-sse.api

    	public static final fun createFactory (Lokhttp3/Call$Factory;)Lokhttp3/sse/EventSource$Factory;
    	public static final synthetic fun createFactory (Lokhttp3/OkHttpClient;)Lokhttp3/sse/EventSource$Factory;
    	public static final fun processResponse (Lokhttp3/Response;Lokhttp3/sse/EventSourceListener;)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 14:39:59 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                }
            }
            return urlSet;
        }
    
        @Override
        protected void processResponse(final UrlQueue<?> urlQueue, final ResponseData responseData) {
            super.processResponse(urlQueue, responseData);
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                        session.removeAttribute(SAML_STATE);
                        try {
                            final Auth auth = new Auth(getSettings(), request, response);
                            auth.processResponse();
    
                            if (!auth.isAuthenticated()) {
                                if (logger.isDebugEnabled()) {
                                    logger.debug("Authentication is failed.");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. CHANGELOG.md

        on Java 17+.
     *  Fix: Don't crash if a cookie's value is a lone double quote character.
     *  Fix: Don't crash when canceling an event source created by `EventSources.processResponse()`.
     *  New: `Cache` now has a public constructor that takes an [okio.FileSystem]. This should make it
        possible to implement decorators for cache encryption or compression.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:31:39 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top