- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for setContentException (0.09 seconds)
-
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();Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 17.7K bytes - Click Count (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); } } }
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 19.7K bytes - Click Count (0)