- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 21 for CurlResponse (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/curl/CurlResponse.java
import org.codelibs.curl.io.ContentCache; /** * The CurlResponse class represents the response from a cURL request. * It implements the Closeable interface to allow proper resource management. */ public class CurlResponse implements Closeable { /** * Constructs a new CurlResponse. */ public CurlResponse() { // nothing } /**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) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
import org.junit.Test; /** * Test class for CurlResponse. * Tests response handling, header operations, and content access. */ public class CurlResponseTest { @Test public void testConstructor() { CurlResponse response = new CurlResponse(); assertNotNull(response); } @Test public void testHttpStatusCode() { CurlResponse response = new CurlResponse();Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 17.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java
// ============= private CurlResponse createMockResponse(final int statusCode, final String body) { final CurlResponse response = new CurlResponse(); response.setHttpStatusCode(statusCode); response.setEncoding("UTF-8");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) -
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; /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6.2K bytes - Click Count (0) -
CLAUDE.md
``` curl4j/ ├── src/ │ ├── main/java/org/codelibs/curl/ │ │ ├── Curl.java # Static entry point with factory methods │ │ ├── CurlRequest.java # Fluent request builder │ │ ├── CurlResponse.java # Response wrapper (implements Closeable) │ │ ├── CurlException.java # Unchecked exception for HTTP errors │ │ └── io/ │ │ ├── ContentCache.java # In-memory or file-based caching
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) -
README.md
### Gradle ```groovy implementation 'org.codelibs:curl4j:x.y.z' ``` ## Quick Start ### Synchronous request ```java import org.codelibs.curl.Curl; import org.codelibs.curl.CurlResponse; try (CurlResponse response = Curl.get("https://example.com") .param("q", "curl4j") .header("Accept", "application/json") .execute()) {
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) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
*/ protected void reload(final MappingUpdater updater) { try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) { reload(updater, curlResponse.getContentAsStream()); } catch (final IOException e) { throw new DictionaryException("Failed to parse " + path, e); } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 15.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
* Reloads the dictionary file. * * @param updater The updater. */ protected void reload(final KuromojiUpdater updater) { try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) { reload(updater, curlResponse.getContentAsStream()); } catch (final IOException e) { throw new DictionaryException("Failed to parse " + path, e); } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 11.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
dictionaryManager = new DictionaryManager() { @Override public CurlResponse getContentResponse(DictionaryFile<?> file) { try { // Return a CurlResponse with the file's content return new CurlResponse() { @Override public InputStream getContentAsStream() throws IOException {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
* @param updater the updater to use for processing items */ protected void reload(final ProtwordsUpdater updater) { try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) { reload(updater, curlResponse.getContentAsStream()); } catch (final IOException e) { throw new DictionaryException("Failed to parse " + path, e); } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 11.9K bytes - Click Count (0)