Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for requestBuilder (0.08 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

            requestBuilder.method("GET", null)
          } else {
            val requestBody = if (maintainBody) userResponse.request.body else null
            requestBuilder.method(method, requestBody)
          }
          if (!maintainBody) {
            requestBuilder.removeHeader("Transfer-Encoding")
            requestBuilder.removeHeader("Content-Length")
            requestBuilder.removeHeader("Content-Type")
          }
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

            requestBuilder.header("Content-Length", contentLength.toString())
            requestBuilder.removeHeader("Transfer-Encoding")
          } else {
            requestBuilder.header("Transfer-Encoding", "chunked")
            requestBuilder.removeHeader("Content-Length")
          }
        }
    
        if (userRequest.header("Host") == null) {
          requestBuilder.header("Host", userRequest.url.toHostHeader())
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                searchEngineClient.scrollSearch(fessConfig.getIndexDocumentUpdateIndex(), requestBuilder -> {
                    requestBuilder.setQuery(queryBuilder).setSize((int) numFound);
                    if (fields != null) {
                        requestBuilder.setFetchSource(fields, null);
                    }
                    return true;
                }, entity -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            final GetRequestBuilder requestBuilder = client.prepareGet(index, id);
            if (condition.build(requestBuilder)) {
                response = requestBuilder.execute().actionGet(ComponentUtil.getFessConfig().getIndexSearchTimeout());
            }
            final long execTime = systemHelper.getCurrentTimeAsLong() - startTime;
    
            return searchResult.build(requestBuilder, execTime, OptionalEntity.ofNullable(response, () -> {}));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CallTest.kt

      }
    
      @Test
      fun invalidScheme() {
        val requestBuilder = Request.Builder()
        assertFailsWith<IllegalArgumentException> {
          requestBuilder.url("ftp://hostname/path")
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Expected URL scheme 'http' or 'https' but was 'ftp'")
        }
      }
    
      @Test
      fun invalidPort() {
        val requestBuilder = Request.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        server.enqueue(MockResponse(body = "Page 2"))
        val requestBuilder =
          Request.Builder()
            .url(server.url("/page1"))
        if (method == "POST") {
          requestBuilder.post("ABCD".toRequestBody(null))
        } else {
          requestBuilder.method(method, null)
        }
        val response = getResponse(requestBuilder.build())
        val responseString = readAscii(response.body.byteStream(), Int.MAX_VALUE)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        Request(
          url = "".toHttpUrl(),
          headers = headersOf(),
          method = "",
          body = "".toRequestBody(null),
        )
      }
    
      @Test
      fun requestBuilder() {
        val requestBody = "".toRequestBody(null)
        var builder = Request.Builder()
        builder = builder.url("".toHttpUrl())
        builder = builder.url("")
        builder = builder.url(URL(""))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
Back to top