- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 230 for intercept (0.06 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
TimeoutsToUse.PAST, // prefer responding to interrupt over timing out isInterruptible(method) ? Outcome.INTERRUPT : Outcome.FAILURE); addTests( suite, method, Scenario.UNSATISFIED_AND_INTERRUPTED_BEFORE_WAITING, TimeoutsToUse.SMALL, isInterruptible(method) ? Outcome.INTERRUPT : Outcome.FAILURE); addTests( suite,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 27.1K bytes - Viewed (0) -
okhttp-android/src/test/kotlin/okhttp3/android/AndroidLoggingTest.kt
@Test fun testHttpLoggingInterceptor() { val interceptor = HttpLoggingInterceptor.androidLogging(tag = "testHttpLoggingInterceptor").apply { level = HttpLoggingInterceptor.Level.BASIC } val client = clientBuilder.addInterceptor(interceptor).build() try { client.newCall(request).execute() } catch (uhe: UnknownHostException) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 11:07:32 UTC 2024 - 3.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt
headers = Headers.of(mapOf("" to "")) val size: Int = headers.size() } @Test @Disabled fun httpLoggingInterceptor() { val interceptor = HttpLoggingInterceptor() val level = interceptor.getLevel() } @Test @Disabled fun httpUrl() { val httpUrl: HttpUrl = HttpUrl.get("") val url: URL = httpUrl.url() val uri: URI = httpUrl.uri()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
public void testGetUnchecked_success() { assertEquals("foo", getUnchecked(immediateFuture("foo"))); } @J2ktIncompatible @GwtIncompatible // Thread.interrupt public void testGetUnchecked_interrupted() { Thread.currentThread().interrupt(); try { assertEquals("foo", getUnchecked(immediateFuture("foo"))); assertTrue(Thread.currentThread().isInterrupted()); } finally {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
public void testGetUnchecked_success() { assertEquals("foo", getUnchecked(immediateFuture("foo"))); } @J2ktIncompatible @GwtIncompatible // Thread.interrupt public void testGetUnchecked_interrupted() { Thread.currentThread().interrupt(); try { assertEquals("foo", getUnchecked(immediateFuture("foo"))); assertTrue(Thread.currentThread().isInterrupted()); } finally {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 4.4K bytes - Viewed (0) -
pyproject.toml
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Topic :: Internet :: WWW/HTTP :: HTTP Servers", "Topic :: Internet :: WWW/HTTP", ] dependencies = [ "starlette>=0.40.0,<0.42.0", "pydantic>=1.7.4,!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0", "typing-extensions>=4.8.0", ] [project.urls]
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 22 14:19:56 UTC 2024 - 7.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt
Thread.sleep(delayMillis.toLong()) } catch (e: InterruptedException) { Thread.currentThread().interrupt() } } private fun interruptLater(delayMillis: Int) { val toInterrupt = Thread.currentThread() val interruptingCow = Thread { sleep(delayMillis) toInterrupt.interrupt() } interruptingCow.start() } companion object {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java
import org.apache.maven.model.building.ModelProblemCollector; import org.apache.maven.model.building.ModelProblemCollectorRequest; import org.codehaus.plexus.interpolation.ValueSource; /** * Wraps another value source and intercepts interpolated expressions, checking for problems. * * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") class ProblemDetectingValueSource implements ValueSource {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
import java.util.List; import javax.annotation.CheckForNull; /** * An immutable well-formed internet domain name, such as {@code com} or {@code foo.co.uk}. Only * syntactic analysis is performed; no DNS lookups or other network interactions take place. Thus * there is no guarantee that the domain actually exists on the internet. * * <p>One common use of this class is to determine whether a given string is likely to represent an
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 05 20:47:23 UTC 2024 - 28K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
private var client = clientTestRule.newClientBuilder() .writeTimeout(Duration.ofMillis(500)) .readTimeout(Duration.ofMillis(500)) .addInterceptor( Interceptor { chain: Interceptor.Chain -> val response = chain.proceed(chain.request()) // Ensure application interceptors never see a null body. assertThat(response.body).isNotNull() response
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 35.2K bytes - Viewed (0)