- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for setContentException (0.08 sec)
-
src/test/java/org/codelibs/curl/CurlResponseTest.java
} @Test public void testContentException() { 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();Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
this.encoding = encoding; } /** * Sets the exception that occurred while accessing the content. * * @param e the exception to set. */ public void setContentException(final Exception e) { contentException = e; } /** * Gets the exception that occurred while accessing the content, if any. *Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
contentCache = new ContentCache(dfos.getFile()); } response.setContentCache(contentCache); } catch (final Exception e) { response.setContentException(e); throw new CurlException("Failed to write a response.", e); } } }
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 18.6K bytes - Viewed (0)