Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getContentException (0.08 sec)

  1. src/test/java/org/codelibs/curl/CurlResponseTest.java

            CurlResponse response = new CurlResponse();
            Exception exception = new IOException("Test exception");
    
            response.setContentException(exception);
    
            assertSame(exception, response.getContentException());
        }
    
        @Test
        public void testHeaders() {
            CurlResponse response = new CurlResponse();
            Map<String, List<String>> headers = new HashMap<>();
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/curl/CurlResponse.java

        }
    
        /**
         * Gets the exception that occurred while accessing the content, if any.
         *
         * @return the exception, or null if no exception occurred.
         */
        public Exception getContentException() {
            return contentException;
        }
    
        /**
         * Sets the headers for the response.
         *
         * @param headers the headers 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)
  3. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                            logger.info("Register {} to {}", path, index);
                        } else if (response.getContentException() != null) {
                            logger.warn("Invalid request for {}.", path, response.getContentException());
                        } else {
                            logger.warn("Invalid request for {}. The response is {}", path, response.getContentAsString());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
Back to top