Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Disconnect (1.11 sec)

  1. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            }
        }
    
        class MockHttpURLConnection extends HttpURLConnection {
    
            MockHttpURLConnection(URL u) {
                super(u);
            }
    
            @Override
            public void disconnect() {
                // Do Nothing
            }
    
            @Override
            public boolean usingProxy() {
                return false;
            }
    
            @Override
            public void connect() throws IOException {
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/curl/CurlRequest.java

                    exceptionListener.accept(new CurlException("Failed to access to " + url, e));
                } finally {
                    if (connection != null) {
                        connection.disconnect();
                    }
                }
            };
            if (threadPool != null) {
                threadPool.execute(task);
            } else {
                task.run();
            }
        }
    
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Sun Feb 12 12:21:25 GMT 2023
    - 12.3K bytes
    - Viewed (0)
Back to top