Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/fess/helper/PluginHelper.java

         * @return a configured CURL request
         */
        protected CurlRequest createCurlRequest(final String url) {
            final CurlRequest request = Curl.get(url);
            final Proxy proxy = ComponentUtil.getFessConfig().getHttpProxy();
            if (proxy != null && !Proxy.NO_PROXY.equals(proxy)) {
                request.proxy(proxy);
            }
            return request;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Mar 04 15:19:41 GMT 2026
    - 25.1K bytes
    - Click Count (0)
  4. README.md

        $ curl -s "http://localhost:8080/api/v1/health"
    
    You should see a JSON response when Fess is ready.
    
    #### 3. Clone Test Data
    
    Required for SearchApiTests:
    
        $ git clone https://github.com/codelibs/fess-testdata.git /tmp/fess-testdata
    
    #### 4. Run Integration Tests
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Feb 14 03:19:23 GMT 2026
    - 7.8K bytes
    - Click Count (2)
  5. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

            assertEquals(UserAgentType.OTHER, userAgentHelper.getUserAgentType());
        }
    
        @Test
        public void test_getUserAgentType_curl() {
            getMockRequest().addHeader("user-agent", "curl/7.68.0");
            assertEquals(UserAgentType.OTHER, userAgentHelper.getUserAgentType());
        }
    
        @Test
        public void test_getUserAgentType_wget() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/util/ComponentUtil.java

         */
        public static QueryStringBuilder getQueryStringBuilder() {
            return getComponent(QUERY_STRING_BUILDER);
        }
    
        /**
         * Gets the curl helper component.
         * @return The curl helper.
         */
        public static CurlHelper getCurlHelper() {
            return getComponent(CURL_HELPER);
        }
    
        /**
         * Gets the coordinator helper component.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

     */
    package org.codelibs.curl.io;
    
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertFalse;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertTrue;
    
    import java.io.File;
    import java.io.IOException;
    
    import org.codelibs.curl.Curl;
    import org.junit.Test;
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 11.7K 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/fess/helper/CurlHelperTest.java

    import java.io.File;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.lang.reflect.Field;
    
    import javax.net.ssl.SSLSocketFactory;
    
    import org.codelibs.curl.Curl;
    import org.codelibs.curl.CurlRequest;
    import org.codelibs.fesen.client.node.NodeManager;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.concurrent.atomic.AtomicReference;
    
    import org.codelibs.curl.CurlRequest;
    import org.codelibs.curl.CurlResponse;
    import org.codelibs.curl.io.ContentCache;
    import org.codelibs.fess.helper.CoordinatorHelper.EventInfo;
    import org.codelibs.fess.helper.CoordinatorHelper.InstanceInfo;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
Back to Top