Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for urlConnection (0.08 sec)

  1. src/main/java/jcifs/http/Handler.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.http;
    
    import java.io.IOException;
    import java.net.HttpURLConnection;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    import java.net.URLStreamHandlerFactory;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.StringTokenizer;
    
    import org.slf4j.Logger;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. settings.gradle.kts

    include(":okhttp-java-net-cookiejar")
    include(":okhttp-logging-interceptor")
    include(":okhttp-osgi-tests")
    include(":okhttp-sse")
    include(":okhttp-testing-support")
    include(":okhttp-tls")
    include(":okhttp-urlconnection")
    include(":okhttp-zstd")
    include(":samples:compare")
    include(":samples:crawler")
    include(":samples:guide")
    include(":samples:simple-client")
    include(":samples:slack")
    include(":samples:static-server")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:41:00 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    import java.net.UnknownHostException;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

         */
    
        @Override
        public String toString() {
            return Strings.maskSecretValue(url.toString());
        }
    
        /* URLConnection implementation */
        /**
         * This URLConnection method just returns the result of {@code length()}.
         *
         * @return the length of this file or 0 if it refers to a directory
         */
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  5. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

            .setBody("ABC")
            .clearHeaders()
            .addHeader("Content-Length: 4"),
        )
        server.enqueue(MockResponse().setBody("DEF"))
        val urlConnection = server.url("/").toUrl().openConnection()
        urlConnection.setReadTimeout(1000)
        val inputStream = urlConnection.getInputStream()
        assertThat(inputStream.read()).isEqualTo('A'.code)
        assertThat(inputStream.read()).isEqualTo('B'.code)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_2x.md

        responses. Both types of calls can be canceled via the `Call` or the
        `OkHttpClient`.
    
     *  **URLConnection support has moved to the okhttp-urlconnection module.**
        If you're upgrading from 1.x, this change will impact you. You will need to
        add the `okhttp-urlconnection` module to your project and use the
        `OkUrlFactory` to create new instances of `HttpURLConnection`:
    
        ```java
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.HttpURLConnection;
    import java.net.ProtocolException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NetworkExplorer.java

     */
    
    package jcifs.http;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.PrintWriter;
    import java.net.MalformedURLException;
    import java.net.URLConnection;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.Enumeration;
    import java.util.GregorianCalendar;
    import java.util.LinkedList;
    import java.util.ListIterator;
    import java.util.Properties;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  9. okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt

            "com.squareup.okhttp3.dnsoverhttps",
            "com.squareup.okhttp3.logging",
            "com.squareup.okhttp3.sse",
            "com.squareup.okhttp3.tls",
            "com.squareup.okhttp3.urlconnection",
          )
    
        /** Equinox must also be on the testing classpath.  */
        private const val RESOLVE_OSGI_FRAMEWORK = "org.eclipse.osgi"
        private const val RESOLVE_JAVA_VERSION = "JavaSE-1.8"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .body("DEF")
            .build(),
        )
        val urlConnection = server.url("/").toUrl().openConnection()
        urlConnection!!.readTimeout = 1000
        val inputStream = urlConnection.getInputStream()
        assertThat(inputStream!!.read()).isEqualTo('A'.code)
        assertThat(inputStream.read()).isEqualTo('B'.code)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top