QuicOptions

public final class QuicOptions


Cronet में QUIC के लिए कॉन्फ़िगरेशन के विकल्प.

इस क्लास में दी गई सेटिंग सिर्फ़ तब काम की होती हैं, जब QUIC चालू हो. Cronet इंजन के लिए QUIC को चालू / बंद करने के लिए, enableQuic का इस्तेमाल करें.

खास जानकारी

नेस्ट किए गए टाइप

public class QuicOptions.Builder

QuicOptions के लिए बिल्डर.

ऐसे एपीआई के लिए एनोटेशन जिन्हें अब तक स्टेबल नहीं माना गया है.

यह उन एपीआई के लिए एनोटेशन है जो Cronet के ज़रिए चुने गए QUICHE विकल्पों को कॉन्फ़िगर करते हैं.

पब्लिक मेथड

बिल्डर

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