Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for urlConnection (0.22 sec)

  1. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  3. 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  4. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  5. docs/changelogs/changelog_4x.md

        `multipart/mixed; boundary="abc"`.
    
     *  New: `Authenticator.JAVA_NET_AUTHENTICATOR` forwards authentication requests to
        `java.net.Authenticator`. This obsoletes `JavaNetAuthenticator` in the `okhttp-urlconnection`
        module.
    
     *  New: `CertificatePinner` now offers an API for inspecting the configured pins.
    
     *  Upgrade: [Okio 2.6.0][okio_2_6_0].
    
        ```kotlin
        implementation("com.squareup.okio:okio:2.6.0")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  6. gradle/wrapper/gradle-wrapper.jar

    convertSystemPropert(java.util.Properties); public void Download(Logger, java.util.HashMap, int); public static java.net.URI safeUri(java.net.URI); public final void configureProxyAuthen(); public final void addBasicAuthenticati(java.net.URI, java.net.URLConnection); public final String calculateUserAgent(); } org/gradle/wrapper/ExclusiveFileAccessM.class package org.gradle.wrapper; public final synchronized class ExclusiveFileAccessM { public void ExclusiveFileAccessM(); public static void maybeCloseQui...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 24 09:00:26 UTC 2023
    - 42.4K bytes
    - Viewed (0)
Back to top