- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for test_getContentType_autoConnect (0.7 seconds)
-
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
long length = conn.getContentLengthLong(); assertEquals(-1, length); } /** * Test that getContentType() attempts to connect if not connected. */ public void test_getContentType_autoConnect() throws Exception { URL url = new URL("gcs://mybucket/object.txt"); Handler handler = new Handler(); Handler.GcsURLConnection conn = (Handler.GcsURLConnection) handler.openConnection(url);
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 14.1K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
long length = conn.getContentLengthLong(); assertEquals(-1, length); } /** * Test that getContentType() attempts to connect if not connected. */ public void test_getContentType_autoConnect() throws Exception { URL url = new URL("storage://mybucket/object.txt"); Handler handler = new Handler();
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 14.4K bytes - Click Count (0)