- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 460 for Curl (0.14 sec)
-
src/main/java/org/codelibs/curl/Curl.java
* * @param url the URL to which the PUT request will be sent * @return a new CurlRequest object configured with the PUT method and the specified URL */ public static CurlRequest put(final String url) { return new CurlRequest(Method.PUT, url); } /** * Creates a new CurlRequest with the DELETE method for the specified URL. *Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlTest.java
final CurlRequest postRequest = Curl.post(emptyUrl); final CurlRequest putRequest = Curl.put(emptyUrl); final CurlRequest deleteRequest = Curl.delete(emptyUrl); final CurlRequest headRequest = Curl.head(emptyUrl); final CurlRequest optionsRequest = Curl.options(emptyUrl); final CurlRequest connectRequest = Curl.connect(emptyUrl); // ## Assert ##
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 16.3K bytes - Viewed (0) -
README.md
```java import org.codelibs.curl.Curl; Curl.post("https://api.example.com/items") .body("{\"name\":\"item1\"}") .header("Content-Type", "application/json") .execute( response -> System.out.println("Async status: " + response.getHttpStatusCode()), error -> error.printStackTrace()); ``` ## API Overview
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 2.5K bytes - Viewed (0) -
CLAUDE.md
``` ## Architecture ### Core Components - **`org.codelibs.curl.Curl`**: Static entry point providing factory methods for all HTTP methods (GET, POST, PUT, DELETE, HEAD, OPTIONS, CONNECT, TRACE) - **`org.codelibs.curl.CurlRequest`**: Fluent request builder supporting parameters, headers, body content, SSL config, proxies, timeouts, and caching - **`org.codelibs.curl.CurlResponse`**: Response wrapper implementing `Closeable` for proper resource management
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java
import org.apache.logging.log4j.Logger; import org.codelibs.core.io.CopyUtil; import org.codelibs.core.io.ReaderUtil; import org.codelibs.core.lang.StringUtil; import org.codelibs.curl.CurlRequest; import org.codelibs.curl.CurlResponse; import org.codelibs.fess.Constants; import org.codelibs.fess.annotation.Secured; import org.codelibs.fess.app.web.base.FessAdminAction; import org.codelibs.fess.helper.CurlHelper;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
*/ package org.codelibs.curl.io; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.IOException; import org.codelibs.curl.Curl; import org.junit.Test;
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Wed Nov 12 14:01:04 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
*/ package org.codelibs.curl.io; import org.codelibs.curl.Curl; import org.codelibs.curl.CurlRequest; import org.junit.Test; import java.io.ByteArrayInputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.util.Arrays; import java.util.Objects;
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Sat May 10 01:44:04 UTC 2025 - 3.4K bytes - Viewed (0) -
pom.xml
<version>1.3.2-SNAPSHOT</version> <packaging>jar</packaging> <name>cUrl-Like Java client</name> <description>cUrl-Like Java client</description> <url>https://github.com/codelibs/curl4j</url> <inceptionYear>2011</inceptionYear> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses>
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Sat Dec 20 04:17:15 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/NotificationHelper.java
try (CurlResponse response = Curl.post(url).header("Content-Type", "application/json").body(body).execute()) { if (response.getHttpStatusCode() == 200) { if (logger.isDebugEnabled()) { logger.debug("Sent {} to {}.", body, url); } } else {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
import static org.junit.Assert.fail; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import org.codelibs.curl.Curl; import org.junit.After; import org.junit.Test; /** * Test class for ContentCache. * Tests memory-based and file-based content caching. */ public class ContentCacheTest { private File tempFile;Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 11.2K bytes - Viewed (0)