QuicOptions

public final class QuicOptions


Options de configuration pour QUIC dans Cronet.

Les paramètres de cette classe ne sont pertinents que si QUIC est activé. Utilisez enableQuic pour activer / désactiver QUIC pour le moteur Cronet.

Résumé

Types imbriqués

public class QuicOptions.Builder

Compilateur pour QuicOptions.

Annotation pour les API qui ne sont pas encore considérées comme stables.

Annotation pour les API qui configurent des options QUICHE non gérées par Cronet.

Méthodes publiques

compilateur

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()