Class CronetDataSource

    • Field Detail

      • DEFAULT_CONNECT_TIMEOUT_MILLIS

        public static final int DEFAULT_CONNECT_TIMEOUT_MILLIS
        Deprecated.
        The default connection timeout, in milliseconds.
        See Also:
        Constant Field Values
      • DEFAULT_READ_TIMEOUT_MILLIS

        public static final int DEFAULT_READ_TIMEOUT_MILLIS
        Deprecated.
        The default read timeout, in milliseconds.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CronetDataSource

        protected CronetDataSource​(org.chromium.net.CronetEngine cronetEngine,
                                   Executor executor,
                                   int requestPriority,
                                   int connectTimeoutMs,
                                   int readTimeoutMs,
                                   boolean resetTimeoutOnRedirects,
                                   boolean handleSetCookieRequests,
                                   @Nullable
                                   String userAgent,
                                   @Nullable
                                   HttpDataSource.RequestProperties defaultRequestProperties,
                                   @Nullable
                                   Predicate<String> contentTypePredicate,
                                   boolean keepPostFor302Redirects)
        Deprecated.