- Sort Score
- Num 10 results
- Language All
Results 7971 - 7980 of 8,327 for JAVA (0.03 seconds)
-
samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.recipes.kt import java.io.File import java.io.IOException import okhttp3.Cache import okhttp3.OkHttpClient import okhttp3.Request class CacheResponse( cacheDirectory: File, ) { private val client: OkHttpClient = OkHttpClient
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt
import assertk.assertThat import assertk.assertions.isCloseTo import assertk.assertions.isFalse import assertk.assertions.isInstanceOf import assertk.assertions.matchesPredicate import java.util.Deque import java.util.concurrent.ConcurrentLinkedDeque import java.util.concurrent.TimeUnit import okhttp3.CallEvent.CallStart import okhttp3.CallEvent.Canceled import org.junit.jupiter.api.Assertions.fail open class EventRecorder( /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 4.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractJavaNullabilityChangesTest.kt
) { assertHasErrors( "Field nonFinalField: Nullability breaking change.", "Method com.example.Source.foo(java.lang.String): Parameter 0 from null accepting to non-null accepting breaking change.", "Constructor com.example.Source(java.lang.String): Parameter 0 from null accepting to non-null accepting breaking change." ) assertHasNoWarning()Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Feb 04 09:55:47 GMT 2025 - 5.1K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt
* limitations under the License. */ @file:JvmName("Certificates") package okhttp3.tls import java.security.GeneralSecurityException import java.security.cert.CertificateFactory import java.security.cert.X509Certificate import okio.Buffer import okio.ByteString import okio.ByteString.Companion.toByteString /**Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageDeflater.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.ws import java.io.Closeable import java.io.IOException import java.util.zip.Deflater import okio.Buffer import okio.ByteString import okio.ByteString.Companion.decodeHex import okio.DeflaterSink private val EMPTY_DEFLATE_BLOCK = "000000ffff".decodeHex()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.1K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt
// This file contains members that we should consider to pull upstream // and make available to all Kotlin DSL users package gradlebuild.basics.kotlindsl import org.gradle.process.ExecOperations import java.io.ByteArrayOutputStream import java.io.File /** * `dir / "sub"` is the same as `dir.resolve("sub")`. * * @see [File.resolve] */ operator fun File.div(child: String): File = resolve(child)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon May 19 11:33:57 GMT 2025 - 965 bytes - Click Count (0) -
container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt
* limitations under the License. */ package okhttp3.containers import assertk.assertThat import assertk.assertions.contains import java.net.InetSocketAddress import java.net.Proxy import java.net.Proxy.Type.SOCKS import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.containers.BasicMockServerTest.Companion.MOCKSERVER_IMAGE
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.6K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt
* limitations under the License. */ package okhttp3.internal.platform.android import android.annotation.SuppressLint import android.net.ssl.SSLSockets import android.os.Build import java.io.IOException import java.lang.IllegalArgumentException import javax.net.ssl.SSLSocket import okhttp3.Protocol import okhttp3.internal.SuppressSignatureCheck import okhttp3.internal.platform.Platform
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 10 09:36:53 GMT 2026 - 2.8K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import java.net.InetAddress import java.net.UnknownHostException import java.util.Collections import okio.Buffer class FakeDns : Dns { private val hostAddresses: MutableMap<String, List<InetAddress>> = Collections.synchronizedMap(mutableMapOf())Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Feb 04 20:20:29 GMT 2026 - 2.6K bytes - Click Count (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.platform import java.security.KeyStore import java.security.Provider import java.security.cert.X509Certificate import javax.net.ssl.SSLContext import javax.net.ssl.SSLSession import javax.net.ssl.SSLSocket import javax.net.ssl.SSLSocketFactory
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 4.6K bytes - Click Count (0)