- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,059 for rval (0.03 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt
*/ class RealCall( val client: OkHttpClient, /** The application's original request unadulterated by redirects or auth headers. */ val originalRequest: Request, val forWebSocket: Boolean, ) : Call, Cloneable { internal val lock: ReentrantLock = ReentrantLock() private val connectionPool: RealConnectionPool = client.connectionPool.delegate
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 17.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookiesTest.kt
val cookieManager = CookieManager(null, CookiePolicy.ACCEPT_ORIGINAL_SERVER) val cookieJar = JavaNetCookieJar(cookieManager) val url1 = "https://api.squareup.com/".toHttpUrl() cookieJar.saveFromResponse(url1, listOf(parse(url1, "a=android; Domain=api.squareup.com")!!)) val url2 = "https://www.squareup.com/".toHttpUrl() val actualCookies = cookieJar.loadForRequest(url2)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt
internal fun MediaType.commonToString(): String = mediaType internal fun MediaType.commonHashCode(): Int = mediaType.hashCode() private const val TOKEN = "([a-zA-Z0-9-!#$%&'*+.^_`{|}~]+)" private const val QUOTED = "\"([^\"]*)\"" private val TYPE_SUBTYPE = Regex("$TOKEN/$TOKEN") private val PARAMETER = Regex(";\\s*(?:$TOKEN=(?:$TOKEN|$QUOTED))?") /** * Returns a media type for this string. *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/DocsTest.kt
import model.CIBuildModel import model.Stage enum class TestSplitType(val action: String) { INCLUDE("include"), EXCLUDE("exclude") } fun prepareTestClassesStep(os: Os, type: TestSplitType, testClasses: List<String>): BuildSteps.() -> Unit { val action = type.action val unixScript = """ mkdir -p test-splits rm -rf test-splits/*-test-classes.properties
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Sep 25 07:23:49 UTC 2024 - 4.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Challenge.kt
val realm: String? get() = authParams["realm"] /** The charset that should be used to encode the credentials. */ @get:JvmName("charset") val charset: Charset get() { val charset = authParams["charset"] if (charset != null) { try { return Charset.forName(charset) } catch (ignore: Exception) { } } return ISO_8859_1 }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
} } data class Response( val code: Int, val negotiatedProtocol: String, val content: String, ) private fun execute( engine: HttpEngine, executor: ExecutorService, url: String, ): CompletableFuture<Response> { val completableFuture = CompletableFuture<Response>() val buffer = Buffer() val req = engine.newUrlRequestBuilder( url,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 24 13:19:43 UTC 2024 - 6.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
@TempDir lateinit var cacheDirFile: File lateinit var cacheDir: Path private val appVersion = 100 private lateinit var journalFile: Path private lateinit var journalBkpFile: Path private val taskFaker = TaskFaker() private val taskRunner = taskFaker.taskRunner private lateinit var cache: DiskLruCache private val toClose = ArrayDeque<DiskLruCache>() private fun createNewCache() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 75.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt
*/ class JavaNetAuthenticator(private val defaultDns: Dns = Dns.SYSTEM) : okhttp3.Authenticator { @Throws(IOException::class) override fun authenticate( route: Route?, response: Response, ): Request? { val challenges = response.challenges() val request = response.request val url = request.url val proxyAuthorization = response.code == 407 val proxy = route?.proxy ?: Proxy.NO_PROXY
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt
abstract class UpdateKotlinVersions : DefaultTask() { @get:Internal abstract val comment: Property<String> @get:Internal abstract val minimumSupported: Property<String> @get:Internal abstract val propertiesFile: RegularFileProperty @get:Internal abstract val compatibilityDocFile: RegularFileProperty @TaskAction fun action() =
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jul 23 18:27:26 UTC 2024 - 5.2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt
fun toSubproject(subproject: Map<String, Any>): GradleSubproject { val name = subproject["name"] as String val path = subproject["path"] as String val unitTests = !ignoredSubprojects.contains(name) && subproject["unitTests"] as Boolean val functionalTests = !ignoredSubprojects.contains(name) && subproject["functionalTests"] as Boolean
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 02 14:55:06 UTC 2023 - 2.2K bytes - Viewed (0)