- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for commentstring (0.2 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/-ChallengeCommon.kt
} fun Challenge.commonHashCode(): Int { var result = 29 result = 31 * result + scheme.hashCode() result = 31 * result + authParams.hashCode() return result }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt
when { tags.isEmpty() -> mutableMapOf<KClass<*>, Any>().also { tags = it } else -> tags as MutableMap<KClass<*>, Any> } mutableTags[type] = tag } } fun Request.commonToString(): String = buildString { append("Request{method=") append(method) append(", url=") append(url) if (headers.size != 0) { append(", headers=[")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt
*/ @file:Suppress("ktlint:standard:filename") package okhttp3.internal import kotlin.time.Duration.Companion.seconds import okhttp3.CacheControl import okhttp3.Headers internal fun CacheControl.commonToString(): String { var result = headerValue if (result == null) { result = buildString { if (noCache) append("no-cache, ") if (noStore) append("no-store, ")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 7.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt
return other is Headers && namesAndValues.contentEquals(other.namesAndValues) } internal fun Headers.commonHashCode(): Int = namesAndValues.contentHashCode() internal fun Headers.commonToString(): String { return buildString { for (i in 0 until size) { val name = name(i) val value = value(i) append(name) append(": ") append(if (isSensitiveHeader(name)) "██" else value)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt
return parameterNamesAndValues[i + 1] } } return null } internal fun MediaType.commonEquals(other: Any?): Boolean = other is MediaType && other.mediaType == mediaType 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 = "\"([^\"]*)\""
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt
result = CacheControl.parse(headers) lazyCacheControl = result } return result } fun Response.commonClose() { body.close() } fun Response.commonToString(): String = "Response{protocol=$protocol, code=$code, message=$message, url=${request.url}}" fun Response.Builder.commonRequest(request: Request) = apply { this.request = request }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:24:48 GMT 2024 - 5.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Challenge.kt
import java.util.Collections.unmodifiableMap import java.util.Locale.US import kotlin.text.Charsets.ISO_8859_1 import okhttp3.internal.commonEquals import okhttp3.internal.commonHashCode import okhttp3.internal.commonToString /** * An [RFC 7235][rfc_7235] challenge. * * [rfc_7235]: https://tools.ietf.org/html/rfc7235 */ class Challenge( /** Returns the authentication scheme, like `Basic`. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MediaType.kt
import okhttp3.internal.commonHashCode import okhttp3.internal.commonParameter import okhttp3.internal.commonToMediaType import okhttp3.internal.commonToMediaTypeOrNull import okhttp3.internal.commonToString /** * An [RFC 2045][rfc_2045] Media Type, appropriate to describe the content type of an HTTP request * or response body. * * [rfc_2045]: http://tools.ietf.org/html/rfc2045 */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.2K bytes - Viewed (0)