- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for Post (0.02 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java
assertEquals("https://example.com/get", data1.getUrl()); RequestData data2 = RequestDataBuilder.newRequestData().post().url("https://example.com/post").weight(2.0f).build(); assertEquals(Method.POST, data2.getMethod()); assertEquals("https://example.com/post", data2.getUrl()); RequestData data3 = RequestDataBuilder.newRequestData().head().url("https://example.com/head").build();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/Curl.java
} /** * Creates a new CurlRequest with the HTTP POST method for the specified URL. * * @param url the URL to which the POST request will be sent * @return a new CurlRequest object configured with the POST method and the specified URL */ public static CurlRequest post(final String url) { return new CurlRequest(Method.POST, url); } /**Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlTest.java
// ## Arrange ## final String url = "http://example.com"; // ## Act ## final CurlRequest request = Curl.post(url); // ## Assert ## assertNotNull(request); assertEquals(Method.POST, request.method()); } @Test public void test_PutFactoryMethod() { // ## Arrange ## final String url = "http://example.com";Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
} } @Test public void testSingleArgumentConstructor() { CurlRequest request = new CurlRequest(Method.POST); assertEquals(Method.POST, request.method()); assertEquals("UTF-8", request.encoding()); assertEquals(1024 * 1024, request.threshold()); assertNull(request.proxy()); assertNull(request.body());Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 20.5K bytes - Viewed (0) -
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 - `org.codelibs.curl.Curl`: entry point for HTTP methods (GET, POST, PUT, DELETE, HEAD, OPTIONS, CONNECT, TRACE).Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CurlHelper.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java
* Creates a new user setting. * * @param body the user data to create * @return JSON response containing the created user setting ID */ // POST /api/admin/user/setting @Execute public JsonResponse<ApiResult> post$setting(final CreateBody body) { validateApi(body, messages -> {}); body.crudMode = CrudMode.CREATE; final User entity = getUser(body).orElseGet(() -> {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Nov 24 02:07:40 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java
* * @param body the scheduler data to create * @return JSON response containing the created scheduler setting ID */ // POST /api/admin/scheduler/setting @Execute public JsonResponse<ApiResult> post$setting(final CreateBody body) { validateApi(body, messages -> {}); body.crudMode = CrudMode.CREATE;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Nov 23 12:34:02 UTC 2025 - 10.1K bytes - Viewed (0) -
CLAUDE.md
# Deploy to Maven Central via Sonatype Central Portal mvn deploy ``` ## Architecture ### Core Components - **`org.codelibs.curl.Curl`**: Static entry point providing factory methods for all HTTP methods (GET, POST, PUT, DELETE, HEAD, OPTIONS, CONNECT, TRACE) - **`org.codelibs.curl.CurlRequest`**: Fluent request builder supporting parameters, headers, body content, SSL config, proxies, timeouts, and caching
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryManager.java
throw new DictionaryException(dictFile.getPath() + " was updated."); } // TODO use stream try (CurlResponse response = ComponentUtil.getCurlHelper() .post("/_configsync/file") .param("path", dictFile.getPath()) .body(FileUtil.readUTF8(file)) .execute()) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 8K bytes - Viewed (0)