- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for CONNECT (0.13 sec)
-
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
class MockCurlRequest extends CurlRequest { 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 May 09 15:34:10 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/Curl.java
return new CurlRequest(Method.OPTIONS, url); } public static CurlRequest connect(final String url) { return new CurlRequest(Method.CONNECT, url); } public enum Method { GET, POST, PUT, DELETE, HEAD, OPTIONS, TRACE, CONNECT; }
Java - Registered: Thu May 09 15:34:10 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
if (headerList == null) { headerList = new ArrayList<>(); } headerList.add(new String[] { key, value }); return this; } public void connect(final Consumer<HttpURLConnection> actionListener, final Consumer<Exception> exceptionListener) { final Runnable task = () -> { if (paramList != null) { char sp;
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)