Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for commonBuild (0.23 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

    import java.util.Locale
    import java.util.TreeMap
    import java.util.TreeSet
    import okhttp3.internal.commonAdd
    import okhttp3.internal.commonAddAll
    import okhttp3.internal.commonAddLenient
    import okhttp3.internal.commonBuild
    import okhttp3.internal.commonEquals
    import okhttp3.internal.commonGet
    import okhttp3.internal.commonHashCode
    import okhttp3.internal.commonHeadersGet
    import okhttp3.internal.commonHeadersOf
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.util.concurrent.TimeUnit
    import kotlin.time.Duration
    import okhttp3.internal.commonBuild
    import okhttp3.internal.commonClampToInt
    import okhttp3.internal.commonForceCache
    import okhttp3.internal.commonForceNetwork
    import okhttp3.internal.commonImmutable
    import okhttp3.internal.commonNoCache
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt

        if (name.equals(namesAndValues[i], ignoreCase = true)) {
          return namesAndValues[i + 1]
        }
      }
      return null
    }
    
    internal fun Headers.Builder.commonBuild(): Headers = Headers(namesAndValues.toTypedArray())
    
    internal fun headersCheckName(name: String) {
      require(name.isNotEmpty()) { "name is empty" }
      for (i in name.indices) {
        val c = name[i]
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt

        .build()
    
    internal fun CacheControl.Companion.commonForceCache() =
      CacheControl
        .Builder()
        .onlyIfCached()
        .maxStale(Int.MAX_VALUE.seconds)
        .build()
    
    internal fun CacheControl.Builder.commonBuild(): CacheControl =
      CacheControl(
        noCache = noCache,
        noStore = noStore,
        maxAgeSeconds = maxAgeSeconds,
        sMaxAgeSeconds = -1,
        isPrivate = false,
        isPublic = false,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top