Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for url (0.13 sec)

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

            MockCurlRequest(Curl.Method method, String url) {
                super(method, url);
            }
    
            @Override
            public void connect(Consumer<HttpURLConnection> actionListener, Consumer<Exception> exceptionListener) {
                try {
                    actionListener.accept(new MockHttpURLConnection(new URL(url)));
                } catch (MalformedURLException e) {
    Java
    - Registered: Thu Apr 25 15:34:08 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/curl/Curl.java

        public static CurlRequest get(final String url) {
            return new CurlRequest(Method.GET, url);
        }
    
        public static CurlRequest post(final String url) {
            return new CurlRequest(Method.POST, url);
        }
    
        public static CurlRequest put(final String url) {
            return new CurlRequest(Method.PUT, url);
        }
    
        public static CurlRequest delete(final String url) {
    Java
    - Registered: Thu Apr 25 15:34:08 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlRequest.java

                            sp = '&';
                        }
                    }
                    url = url + urlBuf.toString();
                }
    
                HttpURLConnection connection = null;
                try {
                    logger.fine(() -> ">>> " + method + " " + url);
                    final URL u = new URL(url);
                    connection = open(u);
                    connection.setRequestMethod(method.toString());
    Java
    - Registered: Thu Apr 25 15:34:08 GMT 2024
    - Last Modified: Sun Feb 12 12:21:25 GMT 2023
    - 12.3K bytes
    - Viewed (0)
Back to top