QuicOptions

public final class QuicOptions


ตัวเลือกการกำหนดค่าสำหรับ QUIC ใน Cronet

การตั้งค่าในคลาสนี้จะมีผลก็ต่อเมื่อเปิดใช้ QUIC ใช้ enableQuic เพื่อเปิด / ปิดใช้ QUIC สำหรับเครื่องมือ Cronet

สรุป

ประเภทที่ซ้อนกัน

public class QuicOptions.Builder

เครื่องมือสร้างสำหรับ QuicOptions

คำอธิบายประกอบสำหรับ API ที่ยังไม่ถือว่าเสถียร

คำอธิบายประกอบสำหรับ API ที่กำหนดค่าตัวเลือก QUICHE ที่ Cronet ไม่ได้ดูแล

เมธอดสาธารณะ

เครื่องมือสร้าง

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