Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for HttpURLConnection (0.12 sec)

  1. docs/changelogs/changelog_3x.md

     *  Fix: Don't share the OkHttpClient's `Dispatcher` in `HttpURLConnection`.
    
    
    ## Version 3.4.0-RC1
    
    _2016-07-02_
    
     *  **We’ve rewritten HttpURLConnection and HttpsURLConnection.** Previously we
        shared a single HTTP engine between two frontend APIs: `HttpURLConnection`
        and `Call`. With this release we’ve rearranged things so that the
        `HttpURLConnection` frontend now delegates to the `Call` APIs internally.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_2x.md

        add the `okhttp-urlconnection` module to your project and use the
        `OkUrlFactory` to create new instances of `HttpURLConnection`:
    
        ```java
        // OkHttp 1.x:
        HttpURLConnection connection = client.open(url);
    
        // OkHttp 2.x:
        HttpURLConnection connection = new OkUrlFactory(client).open(url);
        ```
    
     *  **Custom caches are no longer supported.** In OkHttp 1.x it was possible to
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Response.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.Closeable
    import java.io.IOException
    import java.net.HttpURLConnection.HTTP_PROXY_AUTH
    import java.net.HttpURLConnection.HTTP_UNAUTHORIZED
    import okhttp3.ResponseBody.Companion.asResponseBody
    import okhttp3.internal.commonAddHeader
    import okhttp3.internal.commonBody
    import okhttp3.internal.commonCacheControl
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

    import assertk.assertions.isLessThan
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import java.io.EOFException
    import java.io.IOException
    import java.io.InterruptedIOException
    import java.net.HttpURLConnection
    import java.net.ProtocolException
    import java.net.SocketTimeoutException
    import java.time.Duration
    import java.util.Arrays
    import java.util.Collections
    import java.util.Random
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. docs/changelogs/changelog_1x.md

     * Fix: Connection reuse was broken for most HTTPS connections due to a bug in
       the way the hostname verifier was selected.
     * Fix: Locking bug in SpdyConnection.
     * Fix: Ignore null header values (for compatibility with HttpURLConnection).
     * Add URLStreamHandlerFactory support so that `URL.openConnection()` uses
       OkHttp.
     * Expose the transport ("http/1.1", "spdy/3", etc.) via magic request headers.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CallTest.kt

    import java.io.FileNotFoundException
    import java.io.IOException
    import java.io.InterruptedIOException
    import java.net.CookieManager
    import java.net.CookiePolicy
    import java.net.HttpCookie
    import java.net.HttpURLConnection
    import java.net.InetAddress
    import java.net.ProtocolException
    import java.net.Proxy
    import java.net.SocketTimeoutException
    import java.net.UnknownHostException
    import java.net.UnknownServiceException
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  7. docs/contribute/concurrency.md

    Concurrency
    ===========
    
    This document describes the concurrency considerations for http/2 connections and the connection pool within OkHttp.
    
    ## HTTP/2 Connections
    
    The HttpURLConnection API is a blocking API. You make a blocking write to send a request, and a blocking read to receive the response.
    
    #### Blocking APIs
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import assertk.fail
    import java.io.IOException
    import java.net.HttpURLConnection
    import java.net.SocketTimeoutException
    import java.time.Duration
    import java.util.Arrays
    import java.util.concurrent.BlockingQueue
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.Executors
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

       *
       * Writes are subject to the write window of the stream and the connection. Until there is a
       * window sufficient to send [byteCount], the caller will block. For example, a user of
       * `HttpURLConnection` who flushes more bytes to the output stream than the connection's write
       * window will block.
       *
       * Zero [byteCount] writes are not subject to flow control and will not block. The only use case
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  10. test-site/activator-launch-1.3.2.jar

    BasicURLHandler(); public final URLHandler$URLInfo getURLInfo(java.net.URL); private URLHandler$URLInfo getURLInfo$57a0216e(java.net.URL); private static String getCharSetFromConten(String); private static boolean checkStatusCode(java.net.URL, java.net.HttpURLConnection); public final java.io.InputStream openStream(java.net.URL); public final void download(java.net.URL, java.io.File, org.apache.ivy.util.CopyProgressListener); private static void disconnect(java.net.URLConnection); } org/apache/ivy/util/url/...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
Back to top