Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 351 for Curl (0.01 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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. .teamcity/mvnw

            fi
        elif command -v curl > /dev/null; then
            if [ "$MVNW_VERBOSE" = true ]; then
              echo "Found curl ... using curl"
            fi
            if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
                curl -o "$wrapperJarPath" "$jarUrl" -f
            else
                curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f
            fi
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 9.8K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. .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)
Back to Top