Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testProxyMethod (0.33 seconds)

  1. src/test/java/org/codelibs/curl/CurlRequestTest.java

            } catch (IllegalArgumentException e) {
                assertTrue(e.getMessage().contains("method must not be null"));
            }
        }
    
        @Test
        public void testProxyMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
            Proxy proxy = Proxy.NO_PROXY;
    
            CurlRequest result = request.proxy(proxy);
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 24.7K bytes
    - Click Count (0)
Back to Top