QuicOptions

public final class QuicOptions


Configuration options for QUIC in Cronet.

The settings in this class are only relevant if QUIC is enabled. Use enableQuic to enable / disable QUIC for the Cronet engine.

Summary

Nested types

public class QuicOptions.Builder

Builder for QuicOptions.

An annotation for APIs which are not considered stable yet.

An annotation for APIs which configure QUICHE options not curated by Cronet.

Public methods

builder

public static QuicOptions.Builder builder()

getClientConnectionOptions

public Set<StringgetClientConnectionOptions()

getCloseSessionsOnIpChange

public @Nullable Boolean getCloseSessionsOnIpChange()

getConnectionOptions

public Set<StringgetConnectionOptions()

getCryptoHandshakeTimeoutSeconds

public @Nullable Long getCryptoHandshakeTimeoutSeconds()

getDelayJobsWithAvailableSpdySession

public @Nullable Boolean getDelayJobsWithAvailableSpdySession()

getEnableTlsZeroRtt

public @Nullable Boolean getEnableTlsZeroRtt()

getEnabledQuicVersions

public Set<StringgetEnabledQuicVersions()

getExtraQuicheFlags

public Set<StringgetExtraQuicheFlags()

getGoawaySessionsOnIpChange

public @Nullable Boolean getGoawaySessionsOnIpChange()

getHandshakeUserAgent

public @Nullable String getHandshakeUserAgent()

getIdleConnectionTimeoutSeconds

public @Nullable Long getIdleConnectionTimeoutSeconds()

getInMemoryServerConfigsCacheSize

public @Nullable Integer getInMemoryServerConfigsCacheSize()

getIncreaseBrokenServicePeriodExponentially

public @Nullable Boolean getIncreaseBrokenServicePeriodExponentially()

getInitialBrokenServicePeriodSeconds

public @Nullable Long getInitialBrokenServicePeriodSeconds()

getPreCryptoHandshakeIdleTimeoutSeconds

public @Nullable Long getPreCryptoHandshakeIdleTimeoutSeconds()

getQuicHostAllowlist

public Set<StringgetQuicHostAllowlist()

getRetransmittableOnWireTimeoutMillis

public @Nullable Long getRetransmittableOnWireTimeoutMillis()

getRetryWithoutAltSvcOnQuicErrors

public @Nullable Boolean getRetryWithoutAltSvcOnQuicErrors()