- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getHttpStatusCode (0.06 sec)
-
src/main/java/org/codelibs/fess/helper/NotificationHelper.java
if (response.getHttpStatusCode() == 200) { if (logger.isDebugEnabled()) { logger.debug("Sent {} to {}.", body, url); } } else { logger.warn("Failed to send {} to {}. HTTP Status is {}. {}", body, url, response.getHttpStatusCode(), response.getContentAsString());
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.2K bytes - Viewed (0) -
README.md
.param("q", "curl4j") .header("Accept", "application/json") .execute()) { System.out.println("Status: " + response.getHttpStatusCode()); System.out.println(response.getContentAsString()); } ``` ### Asynchronous request ```java import org.codelibs.curl.Curl; Curl.post("https://api.example.com/items")
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 2.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/NullResponseProcessorTest.java
processor.process(responseData); // Verify that ResponseData is unchanged assertEquals("https://example.com", responseData.getUrl()); assertEquals(200, responseData.getHttpStatusCode()); } public void test_processWithNullResponseData() { // Test process method with null ResponseData NullResponseProcessor processor = new NullResponseProcessor();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 8.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java
this.status = status; } /* * (non-Javadoc) * * @see org.codelibs.fess.crawler.entity.AccessResult#getHttpStatusCode() */ @Override public Integer getHttpStatusCode() { return httpStatusCode; } /* * (non-Javadoc) * * @seeRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java
*/ void setStatus(Integer status); /** * Returns the HTTP status code of the access result. * * @return the HTTP status code */ Integer getHttpStatusCode(); /** * Sets the HTTP status code of the access result. * * @param httpStatusCode the HTTP status code */ void setHttpStatusCode(Integer httpStatusCode); /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5.2K bytes - Viewed (10) -
src/main/java/org/codelibs/curl/CurlResponse.java
this.contentCache = contentCache; } /** * Gets the HTTP status code of the response. * * @return the HTTP status code. */ public int getHttpStatusCode() { return httpStatusCode; } /** * Sets the HTTP status code for the response. * * @param httpStatusCode the HTTP status code to set. */Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 7K bytes - Viewed (0)