- 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: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 11.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: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 6.8K 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: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 17.8K bytes - Viewed (0)