Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Collections (2.67 sec)

  1. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

     */
    @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
    
    package okhttp3.java.net.cookiejar
    
    import java.io.IOException
    import java.net.CookieHandler
    import java.net.HttpCookie
    import java.util.Collections
    import okhttp3.Cookie
    import okhttp3.CookieJar
    import okhttp3.HttpUrl
    import okhttp3.internal.cookieToString
    import okhttp3.internal.delimiterOffset
    import okhttp3.internal.platform.Platform
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:10:43 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

        server.setProtocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE));
        server.enqueue(new MockResponse().setBody("hello"));
        server.start();
    
        OkHttpClient client = new OkHttpClient.Builder()
            .socketFactory(new UnixDomainSocketFactory(socketFile))
            .protocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE))
            .build();
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Dec 24 03:46:30 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  3. okhttp-android/src/main/baseline-prof.txt

    Lkotlin/collections/CollectionsKt___CollectionsKt;
    Lkotlin/collections/EmptyIterator;
    Lkotlin/collections/EmptyList;
    Lkotlin/collections/EmptyMap;
    Lkotlin/collections/EmptySet;
    Lkotlin/collections/IntIterator;
    Lkotlin/collections/MapsKt__MapsJVMKt;
    Lkotlin/collections/MapsKt___MapsKt;
    Lkotlin/collections/SetsKt__SetsKt;
    Lkotlin/collections/builders/ListBuilder$Itr;
    Lkotlin/collections/builders/ListBuilder;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

     */
    @file:JvmName("HttpHeaders")
    
    package okhttp3.internal.http
    
    import java.io.EOFException
    import java.net.HttpURLConnection.HTTP_NOT_MODIFIED
    import java.net.HttpURLConnection.HTTP_NO_CONTENT
    import java.util.Collections
    import okhttp3.Challenge
    import okhttp3.Cookie
    import okhttp3.CookieJar
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.Response
    import okhttp3.internal.headersContentLength
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Headers.kt

     *  See the License for the specific language governing permissions and
     *  limitations under the License.
     */
    
    package okhttp3
    
    import java.time.Instant
    import java.util.Collections
    import java.util.Date
    import java.util.Locale
    import java.util.TreeMap
    import java.util.TreeSet
    import okhttp3.internal.commonAdd
    import okhttp3.internal.commonAddAll
    import okhttp3.internal.commonAddLenient
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

    import java.security.GeneralSecurityException;
    import java.security.KeyManagementException;
    import java.security.KeyStore;
    import java.security.NoSuchAlgorithmException;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import javax.net.ssl.SSLContext;
    import javax.net.ssl.SSLSocket;
    import javax.net.ssl.SSLSocketFactory;
    import javax.net.ssl.TrustManager;
    import javax.net.ssl.TrustManagerFactory;
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Mar 14 21:57:42 GMT 2019
    - 6.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

    }
    
    /** Returns an immutable copy of this. */
    internal fun <T> List<T>.toImmutableList(): List<T> {
      return Collections.unmodifiableList(toMutableList())
    }
    
    /** Returns an immutable list containing [elements]. */
    @SafeVarargs
    internal fun <T> immutableListOf(vararg elements: T): List<T> {
      return Collections.unmodifiableList(listOf(*elements.clone()))
    }
    
    /** Closes this, ignoring any checked exceptions. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

      fun queuedCalls(): List<Call> =
        this.withLock {
          return Collections.unmodifiableList(readyAsyncCalls.map { it.call })
        }
    
      /** Returns a snapshot of the calls currently being executed. */
      fun runningCalls(): List<Call> =
        this.withLock {
          return Collections.unmodifiableList(runningSyncCalls + runningAsyncCalls.map { it.call })
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 9K bytes
    - Viewed (0)
  9. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.sample;
    
    import java.io.File;
    import java.io.IOException;
    import java.util.Collections;
    import java.util.LinkedHashSet;
    import java.util.Set;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java

     * limitations under the License.
     */
    package okhttp3.recipes;
    
    import java.io.IOException;
    import java.security.cert.Certificate;
    import java.util.Collections;
    import java.util.Set;
    import okhttp3.CertificatePinner;
    import okhttp3.Interceptor;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class CheckHandshake {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top