- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 694 for Curl (0.01 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: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlTest.java
// ## Act & Assert ## assertEquals(Method.GET, Curl.get("http://test.com").method()); assertEquals(Method.POST, Curl.post("http://test.com").method()); assertEquals(Method.PUT, Curl.put("http://test.com").method()); assertEquals(Method.DELETE, Curl.delete("http://test.com").method()); assertEquals(Method.HEAD, Curl.head("http://test.com").method());
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 8.8K 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: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:11:14 UTC 2025 - 2.5K 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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.2K bytes - Viewed (0) -
maven-tests/mvnw
elif [ -z "${MVNW_USERNAME-}" ] && command -v curl >/dev/null; then verbose "Found curl ... using curl" curl ${__MVNW_QUIET_CURL:+"$__MVNW_QUIET_CURL"} -f -L -o "$TMP_DOWNLOAD_DIR/$distributionUrlName" "$distributionUrl" || die "curl: Failed to fetch $distributionUrl" elif set_java_home; then verbose "Falling back to use Java to download"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 12 12:05:57 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
import org.codelibs.curl.Curl.Method; import org.junit.Test; /** * Test class for CurlRequest. * Tests the fluent API, parameter handling, and request configuration. */ public class CurlRequestTest { @Test public void testConstructor() { String url = "https://example.com"; CurlRequest request = new CurlRequest(Method.GET, url);
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 8.8K bytes - Viewed (0) -
okcurl/README.md
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 19 08:48:55 UTC 2025 - 261 bytes - Viewed (0) -
pom.xml
<version>1.3.1-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: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Fri Jun 20 20:21:38 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
* governing permissions and limitations under the License. */ package org.codelibs.curl.io; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.IOException; import org.codelibs.curl.Curl; import org.junit.Test; public class ContentOutputStreamTest { @Test
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat May 10 01:44:04 UTC 2025 - 2K bytes - Viewed (0)