Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 121 for curl4j (0.04 seconds)

  1. README.md

    curl4j
    [![Java CI with Maven](https://github.com/codelibs/curl4j/actions/workflows/maven.yml/badge.svg)](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
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. CLAUDE.md

    ## 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.
    
    ## Directory Structure
    
    ```
    curl4j/
    ├── src/
    │   ├── main/java/org/codelibs/curl/
    │   │   ├── Curl.java              # Static entry point with factory methods
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Jan 08 07:28:24 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  3. pom.xml

    	<modelVersion>4.0.0</modelVersion>
    	<groupId>org.codelibs</groupId>
    	<artifactId>curl4j</artifactId>
    	<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>
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Dec 20 04:17:15 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

         */
        protected static final Logger logger = Logger.getLogger(ContentOutputStream.class.getName());
    
        /**
         * The prefix for the temporary file name.
         */
        protected static final String PREFIX = "curl4j-";
    
        /**
         * The suffix for the temporary file name.
         */
        protected static final String SUFFIX = ".tmp";
    
        /**
         * A flag indicating whether the file has been retrieved.
         */
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. pom.xml

    			<groupId>org.codelibs</groupId>
    			<artifactId>xpp3</artifactId>
    			<version>1.1.4c.0</version>
    		</dependency>
    		<dependency>
    			<groupId>org.codelibs</groupId>
    			<artifactId>curl4j</artifactId>
    			<version>${curl4j.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>org.codelibs</groupId>
    			<artifactId>spnego</artifactId>
    			<version>${spnego.version}</version>
    		</dependency>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 49.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/curl/Curl.java

     *   <li>TRACE</li>
     * </ul>
     *
     * <p>The Curl class also defines an enum {@link Method} which lists all supported HTTP methods.</p>
     *
     * <p>The temporary directory used by Curl is defined by the {@code tmpDir} field, which is initialized
     * to the system's temporary directory.</p>
     */
    public class Curl {
    
        /**
         * The temporary directory used by Curl. It is initialized to the system's temporary directory.
         */
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  7. dockerscripts/download-static-curl.sh

    #!/bin/bash
    
    function download_arch_specific_executable {
    	curl -f -L -s -q \
    		https://github.com/moparisthebest/static-curl/releases/latest/download/curl-$1 \
    		-o /go/bin/curl || exit 1
    	chmod +x /go/bin/curl
    }
    
    case $TARGETARCH in
    "arm64")
    	download_arch_specific_executable aarch64
    	;;
    "s390x")
    	echo "Not downloading static cURL because it does not exist for the $TARGETARCH architecture."
    	;;
    *)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Sep 12 15:45:19 GMT 2024
    - 461 bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.curl.io;
    
    import org.codelibs.curl.Curl;
    import org.codelibs.curl.CurlException;
    import org.codelibs.curl.CurlRequest;
    import org.codelibs.curl.CurlResponse;
    import org.junit.Test;
    
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/curl/CurlRequestTest.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.net.HttpURLConnection;
    import java.net.Proxy;
    import java.util.concurrent.ForkJoinPool;
    
    import javax.net.ssl.SSLSocketFactory;
    
    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
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  10. Dockerfile.hotfix

        chmod +x /go/bin/mc
    
    RUN if [ "$TARGETARCH" = "amd64" ]; then \
           curl -L -s -q https://github.com/moparisthebest/static-curl/releases/latest/download/curl-${TARGETARCH} -o /go/bin/curl; \
           chmod +x /go/bin/curl; \
        fi
    
    # Verify binary signature using public key "RWTx5Zr1tiHQLwG9keckT0c45M3AGeHD6IvimQHpyRywVWGbP1aVSGavRUN"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.1K bytes
    - Click Count (0)
Back to Top