Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for HttpURLConnection (0.82 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.recipes.kt
    
    import java.io.IOException
    import java.net.HttpURLConnection.HTTP_MOVED_TEMP
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.mockwebserver.MockResponse
    import okhttp3.mockwebserver.MockWebServer
    import okhttp3.tls.HandshakeCertificates
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpStatusCodes.kt

     * information on the Apache Software Foundation, please see
     * <http://www.apache.org/>.
     */
    
    package okhttp3.internal.http
    
    // HTTP Status Codes not offered by HttpUrlConnection.
    //
    // https://datatracker.ietf.org/doc/html/rfc7231#page-47
    //
    // From https://github.com/apache/httpcomponents-core/blob/master/httpcore5/src/main/java/org/apache/hc/core5/http/HttpStatus.java
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/HandlerTest.java

                    return mock(HttpURLConnection.class);
                }
            };
    
            // Create mock HTTPS handler
            URLStreamHandler httpsHandler = new URLStreamHandler() {
                @Override
                protected URLConnection openConnection(URL u) throws IOException {
                    return mock(HttpURLConnection.class);
                }
            };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

    import assertk.assertions.isNull
    import assertk.assertions.isSameAs
    import assertk.assertions.prop
    import java.io.File
    import java.io.IOException
    import java.io.InterruptedIOException
    import java.net.HttpURLConnection
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.net.UnknownHostException
    import java.time.Duration
    import java.util.Arrays
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  6. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

     *  See the License for the specific language governing permissions and
     *  limitations under the License.
     */
    package okhttp3.internal.cache
    
    import java.io.IOException
    import java.net.HttpURLConnection.HTTP_GATEWAY_TIMEOUT
    import java.net.HttpURLConnection.HTTP_NOT_MODIFIED
    import java.util.concurrent.TimeUnit.MILLISECONDS
    import okhttp3.Cache
    import okhttp3.EventListener
    import okhttp3.Headers
    import okhttp3.Interceptor
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/curl/CurlRequestTest.java

    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.HttpURLConnection;
    import java.net.Proxy;
    import java.util.concurrent.ForkJoinPool;
    
    import javax.net.ssl.SSLSocketFactory;
    
    import org.codelibs.curl.Curl.Method;
    import org.junit.Test;
    
    /**
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import assertk.fail
    import java.net.CookieHandler
    import java.net.CookieManager
    import java.net.CookiePolicy
    import java.net.HttpCookie
    import java.net.HttpURLConnection
    import java.net.InetAddress
    import java.net.URI
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.Cookie.Companion.parse
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top