- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 193 for fluent (0.03 sec)
-
src/test/java/org/codelibs/curl/CurlRequestTest.java
assertSame(request, result); // Fluent API assertSame(proxy, request.proxy()); } @Test public void testEncodingMethod() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); String encoding = "ISO-8859-1"; CurlRequest result = request.encoding(encoding); assertSame(request, result); // Fluent APIRegistered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 20.5K bytes - Viewed (0) -
CLAUDE.md
# CLAUDE.md This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. ## Project Overview curl4j is a simple cURL-like Java HTTP client library providing a fluent API for building HTTP requests. It's designed to be minimal with only Apache Commons IO as a dependency. ## Development Commands ### Build and Test ```bash # Clean build and run tests mvn clean test # Full build with packaging
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 3.2K bytes - Viewed (0) -
README.md
curl4j [](https://github.com/codelibs/curl4j/actions/workflows/maven.yml) ===== A simple cURL-like Java HTTP client. ## Features - Fluent API for building HTTP requests (GET, POST, PUT, DELETE, HEAD, OPTIONS, CONNECT, TRACE) - Support for query parameters, headers, body (String or stream), compression, SSL configuration, proxies, and timeouts
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 2.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java
RequestData data = RequestDataBuilder.newRequestData().weight(2.5f).build(); assertEquals(2.5f, data.getWeight(), 0.001f); } public void test_fluentApiChaining() { // Test fluent API method chaining RequestData data = RequestDataBuilder.newRequestData().method(Constants.GET_METHOD).url("https://example.com/page").weight(1.5f).build();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 10.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java
* <li>Optionally removing duplicate terms based on a flag.</li> * <li>Limiting the maximum size of alphanumeric and symbol terms.</li> * </ul> * * <p>The {@link TextNormalizeContext} class provides a fluent API to configure the text * normalization process, including setting initial buffer capacity, maximum term sizes, * duplicate term removal, and custom space characters. * * <p>Example usage: * <pre>{@code
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 12K bytes - Viewed (0) -
CLAUDE.md
``` ### CrawlerThread (`CrawlerThread.java`) Worker thread for crawling. **Flow**: Poll URL → Validate → Get client → Delay → Check last-modified → Execute → Process → Extract children → Queue children → Delay ### CrawlerClientFactory Pattern-based client selection using `LinkedHashMap<Pattern, CrawlerClient>`. **Standard Patterns**: ```java "^https?://.*" → httpClient
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 28 17:31:34 UTC 2025 - 10.7K bytes - Viewed (0) -
mockwebserver/README.md
### API #### MockResponse Mock responses default to an empty response body and a `200` status code. You can set a custom body with a string, input stream or byte array. Also add headers with a fluent builder API. ### Java ```java MockResponse response = new MockResponse.Builder() .addHeader("Content-Type", "application/json; charset=utf-8") .addHeader("Cache-Control", "no-cache") .body("{}")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 21:39:59 UTC 2025 - 8.1K bytes - Viewed (0) -
README.md
--------- This program downloads a URL and prints its contents as a string. [Full source][get_example]. ```java OkHttpClient client = new OkHttpClient(); String run(String url) throws IOException { Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { return response.body().string(); } } ``` Post to a Server
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 21:39:59 UTC 2025 - 9.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
private var lazyCacheControl: CacheControl? = null val isHttps: Boolean get() = url.isHttps /** * Constructs a new request. * * Use [Builder] for more fluent construction, including helper methods for various HTTP methods. * * @param method defaults to "GET" if [body] is null, and "POST" otherwise. */ constructor( url: HttpUrl,Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 13:46:58 UTC 2025 - 14.7K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
import org.jspecify.annotations.Nullable; /** * Tests for {@link Quantiles}. * * @author Pete Gillin */ @NullUnmarked public class QuantilesTest extends TestCase { /* * Since Quantiles provides a fluent-style API, each test covers a chain of methods resulting in * the computation of one or more quantiles (or in an error) rather than individual methods. The * tests are divided into three sections:Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.8K bytes - Viewed (0)