QuicOptions

public final class QuicOptions


Konfigurationsoptionen für QUIC in Cronet.

Die Einstellungen in dieser Klasse sind nur relevant, wenn QUIC aktiviert ist. Mit enableQuic können Sie QUIC für die Cronet-Engine aktivieren oder deaktivieren.

Zusammenfassung

Verschachtelte Typen

public class QuicOptions.Builder

Builder für QuicOptions.

Eine Annotation für APIs, die noch nicht als stabil gelten.

Eine Annotation für APIs, die QUICHE-Optionen konfigurieren, die nicht von Cronet verwaltet werden.

Öffentliche Methoden

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