Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for sendRequest (0.17 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

       */
      public void callAndAssertReturns(String methodName, Object... arguments) throws Exception {
        checkNotNull(methodName);
        checkNotNull(arguments);
        sendRequest(methodName, arguments);
        assertSame(null, getResponse(methodName).getResult());
      }
    
      /**
       * Causes this thread to call the named method, and asserts that the call returns the expected
       * boolean value.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/TestTls13Request.kt

    ) {
      try {
        for (url in urls) {
          sendRequest(client, url)
        }
      } finally {
        client.dispatcher.executorService.shutdownNow()
        client.connectionPool.evictAll()
      }
    }
    
    private fun buildClient(vararg specs: ConnectionSpec): OkHttpClient {
      return OkHttpClient.Builder()
        .connectionSpecs(listOf(*specs))
        .build()
    }
    
    private fun sendRequest(
      client: OkHttpClient,
      url: String,
    ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliTestMain.kt

    import okhttp3.Request
    
    fun main() {
      val client =
        OkHttpClient.Builder()
          .addInterceptor(BrotliInterceptor)
          .build()
    
      sendRequest("https://httpbin.org/brotli", client)
      sendRequest("https://httpbin.org/gzip", client)
    }
    
    private fun sendRequest(
      url: String,
      client: OkHttpClient,
    ) {
      val req = Request.Builder().url(url).build()
    
      client.newCall(req).execute().use {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/TestThread.java

       */
      public void callAndAssertReturns(String methodName, Object... arguments) throws Exception {
        checkNotNull(methodName);
        checkNotNull(arguments);
        sendRequest(methodName, arguments);
        assertSame(null, getResponse(methodName).getResult());
      }
    
      /**
       * Causes this thread to call the named method, and asserts that the call returns the expected
       * boolean value.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

            LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                request.setAttribute(Constants.REQUEST_PAGE_SIZE, pageSize);
            });
            final OptionalEntity<SearchResponse> searchResponseOpt = sendRequest(query, params, userBean);
            return processResponse(searchResponseOpt);
        }
    
        protected SearchResult processResponse(final OptionalEntity<SearchResponse> searchResponseOpt) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top