Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 339 for Curl (0.14 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. MIGRATION.md

    Create NDJSON file with required Fess fields:
    
    ```json
    {"url":"http://example.com/doc1","title":"Document 1","content":"Full text content...","mimetype":"text/html"}
    {"url":"http://example.com/doc2","title":"Document 2","content":"More content...","mimetype":"application/pdf"}
    ```
    
    **Step 3: Bulk Import**
    
    ```bash
    curl -X PUT "http://localhost:8080/api/admin/documents/bulk" \
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 12:40:11 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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 ##
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top