- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 605 for behaviors (0.05 sec)
-
docs/features/caching.md
Caching ======= OkHttp implements an optional, off by default, Cache. OkHttp aims for RFC correct and pragmatic caching behaviour, following common real-world browser like Firefox/Chrome and server behaviour when ambiguous. # Basic Usage ```kotlin private val client: OkHttpClient = OkHttpClient.Builder() .cache(Cache( directory = File(application.cacheDir, "http_cache"), // $0.05 worth of phone storage in 2020
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.1K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt
/** * Simplified from * https://hc.apache.org/httpcomponents-client-5.0.x/httpclient5/examples/AsyncClientTlsAlpn.java * * Mainly intended to verify behaviour of popular clients across Android versions, similar * to observing Firefox or Chrome browser behaviour. */ class ApacheHttpClientHttp2Test { @Test fun testHttp2() { val client = HttpAsyncClients.createHttp2Default() client.use { client ->
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
@Mock CIFSContext mockContext; /** * Simple in-test implementation of CredentialsInternal to exercise the API surface. * It validates inputs, records calls, and delegates some behavior to collaborators * so we can verify interactions. */ static class TestCredentials implements CredentialsInternal { private final String domain; private final boolean anonymous;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java
* pattern syntax, which is compatible with the behavior of Maven 3 plugins like * maven-compiler-plugin and maven-clean-plugin. * <p> * Pattern syntax supports: * <ul> * <li>Standard glob patterns with {@code *}, {@code ?}, and {@code **} wildcards</li> * <li>Explicit syntax prefixes like {@code "glob:"} or {@code "regex:"}</li> * <li>Maven 3 compatible behavior for patterns without explicit syntax</li>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Jul 21 19:37:56 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for {@link NdrShort}. The tests cover construction, * encoding and decoding logic, masking behaviour, alignment handling and * interaction with {@link NdrBuffer}. All public behaviour is exercised. */ @ExtendWith(MockitoExtension.class) class NdrShortTest { /** * A small reusable buffer for encode/decode tests. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingNavigableSet.java
* override one or more methods to modify the behavior of the backing set as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>Warning:</b> The methods of {@code ForwardingNavigableSet} forward <i>indiscriminately</i> * to the methods of the delegate. For example, overriding {@link #add} alone <i>will not</i> change
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.8K bytes - Viewed (0) -
api/maven-api-plugin/src/main/java/org/apache/maven/api/plugin/annotations/package-info.java
*/ /** * Provides annotations for Maven plugin development, including mojo configuration, * parameter definitions, and lifecycle bindings. These annotations are used to * generate plugin descriptors and configure plugin behavior. * * @since 4.0.0 */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Mar 04 14:17:18 UTC 2025 - 1.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
// Only mock getConfig, leave others with default behavior when(mockSession.getConfig()).thenReturn(mockConfig); assertEquals(mockConfig, mockSession.getConfig()); assertNull(mockSession.getContext()); // Default mock behavior assertNull(mockSession.unwrap(SmbSession.class)); // Default mock behavior } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestOption.java
* limitations under the License. */ package com.google.common.io; import org.jspecify.annotations.NullUnmarked; /** * Options controlling the behavior of sources/sinks/streams for testing. * * @author Colin Decker */ @NullUnmarked public enum TestOption { OPEN_THROWS, SKIP_THROWS, READ_THROWS, WRITE_THROWS, CLOSE_THROWS,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 931 bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestOption.java
* limitations under the License. */ package com.google.common.io; import org.jspecify.annotations.NullUnmarked; /** * Options controlling the behavior of sources/sinks/streams for testing. * * @author Colin Decker */ @NullUnmarked public enum TestOption { OPEN_THROWS, SKIP_THROWS, READ_THROWS, WRITE_THROWS, CLOSE_THROWS,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 931 bytes - Viewed (0)