Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 623 for Uses (0.03 sec)

  1. docs/features/interceptors.md

    Interceptors can be chained. Suppose you have both a compressing interceptor and a checksumming interceptor: you'll need to decide whether data is compressed and then checksummed, or checksummed and then compressed. OkHttp uses lists to track interceptors, and interceptors are called in order.
    
    ![Interceptors Diagram](../assets/images/******@****.***)
    
    ### Application Interceptors
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      }
    
      /**
       * Provides a check of whether an exception type is valid for use with {@link
       * FuturesGetChecked#getChecked(Future, Class)}, possibly using caching.
       *
       * <p>Uses reflection to gracefully fall back to when certain implementations aren't available.
       */
      private static final class GetCheckedTypeValidatorHolder {
        static final GetCheckedTypeValidator BEST_VALIDATOR = getBestValidator();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

       * hostname does not have pinned certificates.
       */
      fun findMatchingPins(hostname: String): List<Pin> = pins.filterList { matchesHostname(hostname) }
    
      /** Returns a certificate pinner that uses `certificateChainCleaner`. */
      internal fun withCertificateChainCleaner(certificateChainCleaner: CertificateChainCleaner): CertificatePinner =
        if (this.certificateChainCleaner == certificateChainCleaner) {
          this
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. docs/contribute/concurrency.md

    manage network connections. Creating and establishing new connections require a fair amount of overhead and added latency. OkHttp will make every effort to reuse existing connections to avoid this overhead and added latency.
    
    Every OkHttpClient uses a connection pool. Its job is to maintain a reference to all open connections. When an HTTP request is started, OkHttp will attempt to reuse an existing connection from the pool. If there are no existing connections, a new one is created and put into...
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  5. gradlew

    esac
    
    CLASSPATH="\\\"\\\""
    
    
    # Determine the Java command to use to start the JVM.
    if [ -n "$JAVA_HOME" ] ; then
        if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
            # IBM's JDK on AIX uses strange locations for the executables
            JAVACMD=$JAVA_HOME/jre/sh/java
        else
            JAVACMD=$JAVA_HOME/bin/java
        fi
        if [ ! -x "$JAVACMD" ] ; then
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

       * GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName
       * ```
       */
      private val subjectAlternativeName: BasicDerAdapter<List<Pair<DerAdapter<*>, Any?>>> =
        generalName.asSequenceOf()
    
      /**
       * This uses the preceding extension ID to select which adapter to use for the extension value
       * that follows.
       */
      private val extensionValue: BasicDerAdapter<Any?> =
        Adapters
          .usingTypeHint { typeHint ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/RegularImmutableBiMap.java

    import java.util.function.Consumer;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Bimap with zero or more mappings.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class RegularImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
      @SuppressWarnings("unchecked") // TODO(cpovirk): Consider storing Entry<?, ?>[] instead.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmServletTest.java

    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.NameServiceClient;
    import jcifs.smb.NtlmPasswordAuthentication;
    
    /**
     * Tests for the NtlmServlet class.
     * This class uses Mockito to simulate a servlet environment and test authentication logic.
     */
    @ExtendWith(MockitoExtension.class)
    class NtlmServletTest {
    
        // A concrete implementation of the abstract NtlmServlet for testing purposes.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

             */
            Config.setProperty("jcifs.smb1.smb.client.soTimeout", "1800000");
            Config.setProperty("jcifs.smb1.netbios.cachePolicy", "1200");
            /* The Filter can only work with NTLMv1 as it uses a man-in-the-middle
             * techinque that NTLMv2 specifically thwarts. A real NTLM Filter would
             * need to do a NETLOGON RPC that JCIFS will likely never implement
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            when(pipe.ensureTreeConnected()).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(true);
    
            // SMB2 branch in ensureOpen uses openUnshared(String, ...)
            when(pipe.openUnshared(anyString(), anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(fileHandle);
            when(fileHandle.acquire()).thenReturn(fileHandle);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top