- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 384 for PLATFORM (0.03 sec)
-
okhttp-bom/build.gradle.kts
plugins { id("com.vanniktech.maven.publish.base") id("java-platform") } dependencies { constraints { project.rootProject.subprojects.forEach { subproject -> if (subproject.name != "okhttp-bom") { api(subproject) } } api("com.squareup.okhttp3:okhttp-jvm:${project.version}") api("com.squareup.okhttp3:okhttp-android:${project.version}") } } publishing {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Jul 13 08:32:01 UTC 2025 - 501 bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt
import javax.security.auth.callback.UnsupportedCallbackException import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.internal.SuppressSignatureCheck import okhttp3.internal.platform.Platform /** * Example of using a hardware key to perform client auth. * Prefer recent JDK builds, and results are temperamental to slight environment changes.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/JSSETest.kt
import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension class JSSETest { @JvmField @RegisterExtension var platform = PlatformRule() @JvmField @RegisterExtension val clientTestRule = OkHttpClientTestRule() private val handshakeCertificates = platform.localhostHandshakeCertificates() var client = clientTestRule.newClient() @StartStop private val server = MockWebServer()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 5.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CorrettoTest.kt
import org.junit.jupiter.api.extension.RegisterExtension class CorrettoTest { @JvmField @RegisterExtension val platform = PlatformRule() @JvmField @RegisterExtension val clientTestRule = OkHttpClientTestRule() private val client = clientTestRule.newClient() @BeforeEach fun setUp() { platform.assumeCorretto() } @Test @Disabled fun testMozilla() { assumeNetwork()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt
import javax.net.ssl.SSLSession import javax.security.auth.x500.X500Principal import okhttp3.FakeSSLSession import okhttp3.OkHttpClient import okhttp3.internal.canParseAsIpAddress import okhttp3.internal.platform.Platform.Companion.isAndroid import okhttp3.testing.PlatformRule import okhttp3.tls.HeldCertificate import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 40.4K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/ContextAwarePlatform.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.platform import android.content.Context interface ContextAwarePlatform { var applicationContext: Context?
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Dec 31 14:50:53 UTC 2024 - 737 bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/BouncyCastleTest.kt
class BouncyCastleTest { @JvmField @RegisterExtension var platform = PlatformRule() @JvmField @RegisterExtension val clientTestRule = OkHttpClientTestRule() var client = clientTestRule.newClient() @StartStop private val server = MockWebServer() @BeforeEach fun setUp() { OkHttpDebugLogging.enable("org.bouncycastle.jsse") platform.assumeBouncyCastle() } @Test fun testMozilla() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 1.6K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt
} @AfterEach fun tearDown() { executorService.shutdown() serverSocket?.closeQuietly() } @Test fun clientAndServer() { platform.assumeNotConscrypt() platform.assumeNotBouncyCastle() val clientRoot = HeldCertificate .Builder() .certificateAuthority(1) .build() val clientIntermediate = HeldCertificate .Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.2K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
import okhttp3.HttpUrl import okhttp3.Interceptor import okhttp3.OkHttpClient import okhttp3.Response import okhttp3.internal.charsetOrUtf8 import okhttp3.internal.http.promisesBody import okhttp3.internal.platform.Platform import okhttp3.logging.internal.isProbablyUtf8 import okio.Buffer import okio.GzipSource /** * An OkHttp interceptor which logs request and response information. Can be applied as an
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 11.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt
.newClientBuilder() .connectionPool(ConnectionPool(connectionListener = listener)) .fastFallback(fastFallback) .build() @BeforeEach fun setUp() { platform.assumeNotOpenJSSE() platform.assumeNotBouncyCastle() listener.forbidLock(get(client.connectionPool)) listener.forbidLock(client.dispatcher) } @ParameterizedTest @ValueSource(booleans = [true, false])
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 9.8K bytes - Viewed (0)