Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getHttpStatusCode (0.07 sec)

  1. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. README.md

                                    .param("q", "curl4j")
                                    .header("Accept", "application/json")
                                    .executeSync()) {
        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: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:11:14 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

            if (!path.startsWith("/")) {
                path = "/" + path.replace('\\', '/');
            }
            final ResponseData responseData = fsClient.doGet("file:" + path);
            assertEquals(200, responseData.getHttpStatusCode());
            assertEquals("UTF-8", responseData.getCharSet());
            assertTrue(6 == responseData.getContentLength() || 7 == responseData.getContentLength());
            assertNotNull(responseData.getLastModified());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. 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)
         *
         * @see
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9K bytes
    - Viewed (0)
  5. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. 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: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top