- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 40 for HttpURLConnection (0.35 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
.request(nextRequest) .build() tunnelCodec.skipConnectBody(response) when (response.code) { HttpURLConnection.HTTP_OK -> { return null } HttpURLConnection.HTTP_PROXY_AUTH -> { nextRequest = route.address.proxyAuthenticator.authenticate(route, response) ?: throw IOException("Failed to authenticate with proxy")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 19.3K bytes - Click Count (2) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RequestLine.kt
import java.net.Proxy import okhttp3.HttpUrl import okhttp3.Request object RequestLine { /** * Returns the request status line, like "GET / HTTP/1.1". This is exposed to the application by * [HttpURLConnection.getHeaderFields], so it needs to be set even if the transport is * HTTP/2. */ fun get( request: Request, proxyType: Proxy.Type, ): String = buildString { append(request.method)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jun 17 00:47:36 GMT 2025 - 1.9K bytes - Click Count (0) -
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.Headers import okhttp3.Interceptor import okhttp3.Protocol import okhttp3.Request
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 10.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.connection import java.io.IOException import java.net.HttpURLConnection import java.net.Socket import java.net.UnknownServiceException import okhttp3.Address import okhttp3.ConnectionSpec import okhttp3.HttpUrl import okhttp3.Protocol import okhttp3.Request
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
import assertk.assertions.isEqualTo import assertk.assertions.isNotNull import assertk.assertions.isNull import assertk.assertions.isTrue import assertk.assertions.prop import java.io.IOException import java.net.HttpURLConnection import java.net.ProtocolException import java.util.concurrent.BlockingQueue import java.util.concurrent.CountDownLatch import java.util.concurrent.Executors import java.util.concurrent.LinkedBlockingQueue
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 25.8K bytes - Click Count (0) -
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
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Mar 19 07:46:39 GMT 2026 - 14.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
import assertk.assertions.isNull import assertk.assertions.isSameInstanceAs 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
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 70.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/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
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 35.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/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
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 146.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/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
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 67.5K bytes - Click Count (0)