Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 412 for curl (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. .teamcity/scripts/configure_build_env_on_ec2.sh

    # - we set GRADLE_RO_DEP_CACHE to '/opt/gradle-cache' if the folder exists.
    
    curl -m 1 -s "http://169.254.169.254/latest/meta-data/instance-id"
    IS_EC2_INSTANCE=$?
    if [ $IS_EC2_INSTANCE -ne 0 ]; then
      echo "Not running on an EC2 instance, skipping the configuration"
      exit 0
    fi
    
    # TAG
    EC2_INSTANCE_TYPE=$(curl -s "http://169.254.169.254/latest/meta-data/instance-type")
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Aug 27 08:28:30 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.stream.StreamUtil;
    import org.codelibs.curl.Curl;
    import org.codelibs.curl.CurlResponse;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.mail.CardView;
    import org.dbflute.mail.send.supplement.SMailPostingDiscloser;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. 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)
  7. okcurl/README.md

    OkCurl
    ======
    
    _A curl for the next-generation web._
    
    OkCurl is an OkHttp-backed curl clone which allows you to test OkHttp's HTTP engine (including
    HTTP/2) against web servers.
    
    To run locally, make sure you have GRAALVM_HOME set and run
    
    ```bash
    ./okcurl
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 08:48:55 UTC 2025
    - 261 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top