- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 863 for val (0.02 sec)
-
okhttp-android/src/test/kotlin/okhttp3/android/AndroidLoggingTest.kt
@RunWith(RobolectricTestRunner::class) class AndroidLoggingTest { val clientBuilder = OkHttpClient.Builder() .connectionSpecs(listOf(ConnectionSpec.CLEARTEXT)) .dns { throw UnknownHostException("shortcircuit") } val request = Request("http://google.com/robots.txt".toHttpUrl()) @Test fun testHttpLoggingInterceptor() { val interceptor =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 11:07:32 UTC 2024 - 3.2K bytes - Viewed (0) -
test-site/public/javascripts/suggestor.js
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Mon Apr 20 08:41:37 UTC 2015 - 14.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt
fun parseCacheControlAndPragmaAreCombined() { val headers = headersOf("Cache-Control", "max-age=12", "Pragma", "must-revalidate", "Pragma", "public") val cacheControl = parse(headers) assertThat(cacheControl.toString()).isEqualTo("max-age=12, public, must-revalidate") } @Test fun parseCacheControlHeaderValueIsRetained() { val value = "max-age=12" val headers = headersOf("Cache-Control", value)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.3K bytes - Viewed (0) -
build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/tasks/GenerateSample.kt
abstract class GenerateSample : DefaultTask() { @get:Input abstract val type: Property<String> @get:Input abstract val modularization: Property<ModularizationOption> @get:InputDirectory @get:PathSensitive(PathSensitivity.NAME_ONLY) abstract val readmeTemplates: DirectoryProperty @get:OutputDirectory abstract val target: DirectoryProperty @get:Inject protected
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jul 07 13:12:26 UTC 2021 - 2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpStatusCodes.kt
/** `100 Continue` (HTTP/1.1 - RFC 7231) */ const val HTTP_CONTINUE = 100 /** `102 Processing` (WebDAV - RFC 2518) */ const val HTTP_PROCESSING = 102 /** `103 Early Hints (Early Hints - RFC 8297)` */ const val HTTP_EARLY_HINTS = 103 /** `307 Temporary Redirect` (HTTP/1.1 - RFC 7231) */ const val HTTP_TEMP_REDIRECT = 307 /** `308 Permanent Redirect` (HTTP/1.1 - RFC 7538) */ const val HTTP_PERM_REDIRECT = 308
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:24:48 UTC 2024 - 1.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Address.kt
/** Returns the service that will be used to resolve IP addresses for hostnames. */ @get:JvmName("dns") val dns: Dns, /** Returns the socket factory for new connections. */ @get:JvmName("socketFactory") val socketFactory: SocketFactory, /** Returns the SSL socket factory, or null if this is not an HTTPS address. */ @get:JvmName("sslSocketFactory") val sslSocketFactory: SSLSocketFactory?,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt
sealed class ApiSourceFile { internal abstract val currentFile: File internal abstract val currentSourceRoot: File data class Java internal constructor( override val currentFile: File, override val currentSourceRoot: File ) : ApiSourceFile() data class Kotlin internal constructor( override val currentFile: File,
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:24 UTC 2024 - 4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
connection: Connection, ) { if (random != null) { val sslSocket = connection.socket() as SSLSocket val session = sslSocket.session val masterSecretHex = session.masterSecret?.encoded?.toByteString() ?.hex() if (masterSecretHex != null) { val keyLog = "CLIENT_RANDOM $random $masterSecretHex" if (verbose) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.7K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
override fun intercept(chain: Interceptor.Chain): Response { val level = this.level val request = chain.request() if (level == Level.NONE) { return chain.proceed(request) } val logBody = level == Level.BODY val logHeaders = logBody || level == Level.HEADERS val requestBody = request.body val connection = chain.connection() var requestStartMessage =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 11.2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt
failStage = performanceTestProject.spec.failsStage, init = { id("${performanceTestProject.spec.asConfigurationId(model)}_Trigger") val performanceTestSpec = performanceTestProject.spec name = performanceTestProject.name + " (Trigger)" val os = Os.LINUX val type = performanceTestSpec.type applyDefaultSettings(os) params { text(
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Sep 10 13:15:00 UTC 2024 - 5.1K bytes - Viewed (0)