Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 209 for Curl (0.02 seconds)

  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.
         *
    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)
  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. src/test/resources/before_script.sh

    git clone https://github.com/codelibs/fess-testdata.git
    cd fess-testdata
    git checkout f19176ab1b7ddc0a40393a8cbbb8d1c17b27c3ce
    cd ..
    popd >/dev/null
    
    cat ${temp_log_file} ./fess-*/logs/*.log
    curl -s "http://localhost:9201/_cat/indices?v"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Nov 15 02:26:18 GMT 2025
    - 940 bytes
    - Click Count (0)
  4. 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
    
    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)
  5. 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>
    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)
  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;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/CurlHelper.java

    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.curl.Curl.Method;
    import org.codelibs.curl.CurlRequest;
    import org.codelibs.fesen.client.curl.FesenRequest;
    import org.codelibs.fesen.client.node.NodeManager;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/curl/CurlException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.curl;
    
    /**
     * Custom exception class for handling errors related to Curl operations.
     * This class extends {@link RuntimeException} and provides constructors
     * to create an exception instance with a message and an optional cause.
     *
     * <p>Usage examples:</p>
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Jul 05 01:38:18 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. .teamcity/scripts/update_wrapper_and_create_pr.sh

    #                     If it's "Release - Release Candidate", version will be from version-info-release-candidate/version-info.properties
    
    post() {
        local endpoint="$1"
        local data="$2"
    
        local response=$(curl -X POST \
            -H "Authorization: token $GITHUB_TOKEN" \
            -H "Accept: application/vnd.github.v3+json" \
            -H "Content-Type: application/json" \
            "https://api.github.com/repos/gradle/gradle$endpoint" \
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jul 29 03:20:20 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/curl/CurlResponse.java

     */
    package org.codelibs.curl;
    
    import java.io.Closeable;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.function.Function;
    
    import org.codelibs.curl.io.ContentCache;
    
    /**
     * The CurlResponse class represents the response from a cURL request.
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
Back to Top