Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for processResponse (0.06 sec)

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

    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.Headers
    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.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 07:51:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 07:51:20 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 07:51:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java

                    CrawlerThread.class.getDeclaredMethod("processResponse", UrlQueue.class, ResponseData.class);
            method.setAccessible(true);
            method.invoke(crawlerThread, urlQueue, responseData);
    
            verify(responseProcessor, times(1)).process(responseData);
            assertEquals("test-rule", responseData.getRuleId());
        }
    
        /**
         * Test processResponse when no rule is found.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  5. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 07:51:20 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                                if (responseData.getRedirectLocation() == null) {
                                    log(logHelper, LogType.PROCESS_RESPONSE, crawlerContext, urlQueue, responseData);
                                    processResponse(urlQueue, responseData);
                                } else {
                                    log(logHelper, LogType.REDIRECT_LOCATION, crawlerContext, urlQueue, responseData);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

            return processResponse(searchResponseOpt);
        }
    
        /**
         * Processes the OpenSearch response and converts it to a SearchResult.
         *
         * @param searchResponseOpt the optional search response from OpenSearch
         * @return the processed search result
         */
        protected SearchResult processResponse(final OptionalEntity<SearchResponse> searchResponseOpt) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 09:24:04 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

         * @param urlQueue the URL queue item that was processed
         * @param responseData the response data from the crawl operation
         */
        @Override
        protected void processResponse(final UrlQueue<?> urlQueue, final ResponseData responseData) {
            super.processResponse(urlQueue, responseData);
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  10. 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 failed.");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Dec 14 01:18:25 UTC 2025
    - 20.2K bytes
    - Viewed (3)
Back to top