- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Content (0.15 sec)
-
src/test/java/org/codelibs/curl/CurlTest.java
@Test public void test_Get() { Curl.get("https://www.codelibs.org/").execute(response -> { final String content = response.getContentAsString(); logger.info(content); assertTrue(content.length() > 0); }, e -> { logger.log(Level.SEVERE, "error", e); fail(); }); } /* @Test
Java - Registered: Thu May 09 15:34:10 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 2.5K bytes - Viewed (1) -
src/main/java/org/codelibs/curl/CurlResponse.java
throw new CurlException("Failed to access the content.", e); } } public InputStream getContentAsStream() throws IOException { if (contentCache == null) { if (contentException != null) { throw new CurlException("The content does not exist.", contentException); } else { throw new CurlException("The content does not exist."); } }
Java - Registered: Thu May 09 15:34:10 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 4K bytes - Viewed (0)