Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 88 for overriding (0.34 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingServerSocketFactory.kt

    import java.io.IOException
    import java.net.InetAddress
    import java.net.ServerSocket
    import javax.net.ServerSocketFactory
    
    /**
     * A [ServerSocketFactory] that delegates calls. Sockets can be configured after creation by
     * overriding [.configureServerSocket].
     */
    open class DelegatingServerSocketFactory(
      private val delegate: ServerSocketFactory,
    ) : ServerSocketFactory() {
      @Throws(IOException::class)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableEnumMap.java

    /**
     * Implementation of {@link ImmutableMap} backed by a non-empty {@link java.util.EnumMap}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    final class ImmutableEnumMap<K extends Enum<K>, V> extends IteratorBasedImmutableMap<K, V> {
      static <K extends Enum<K>, V> ImmutableMap<K, V> asImmutable(EnumMap<K, V> map) {
        switch (map.size()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt

    import okhttp3.DelegatingSSLSocketFactory
    import okhttp3.EventListener
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    /**
     * Tests for ALPN overriding on Android.
     */
    @Tag("Remote")
    class AlpnOverrideTest {
      class CustomSSLSocketFactory(
        delegate: SSLSocketFactory,
      ) : DelegatingSSLSocketFactory(delegate) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. docs/features/caching.md

    ```
    
    ### Troubleshooting
    
    1. Valid cacheable responses are not being cached
    
    Make sure you are reading responses fully as unless they are read fully, cancelled or stalled Responses will not be cached.
    
    ### Overriding normal cache behaviour
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/collect/ForwardingQueue.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingQueue} forward <b>indiscriminately</b> to the
     * methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the
     * behavior of {@link #offer} which can lead to unexpected behavior. In this case, you should
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingQueue.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingQueue} forward <b>indiscriminately</b> to the
     * methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the
     * behavior of {@link #offer} which can lead to unexpected behavior. In this case, you should
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/escape/CharEscaperBuilder.java

        private final int replaceLength;
    
        CharArrayDecorator(char[] @Nullable [] replacements) {
          this.replacements = replacements;
          this.replaceLength = replacements.length;
        }
    
        /*
         * Overriding escape method to be slightly faster for this decorator. We test the replacements
         * array directly, saving a method call.
         */
        @Override
        public String escape(String s) {
          int slen = s.length();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingMultiset.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingMultiset} forward <b>indiscriminately</b> to
     * the methods of the delegate. For example, overriding {@link #add(Object, int)} alone <b>will
     * not</b> change the behavior of {@link #add(Object)}, which can lead to unexpected behavior. In
     * this case, you should override {@code add(Object)} as well, either providing your own
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

        private static final Logger logger = LogManager.getLogger(FessActionAdjustmentProvider.class);
    
        // _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
        // you can adjust your actions by overriding
        // default methods defined at the interface
        // _/_/_/_/_/_/_/_/_/_/
    
        protected Map<String, List<Pair<String, String>>> responseHeaderMap = new HashMap<>();
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingBlockingDeque.java

     *
     * <p><b>Warning:</b> The methods of {@code ForwardingBlockingDeque} forward <b>indiscriminately</b>
     * to the methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change
     * the behaviour of {@link #offer} which can lead to unexpected behaviour. In this case, you should
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top