QuicOptions
public
class
QuicOptions
extends Object
java.lang.Object | |
↳ | android.net.http.QuicOptions |
Configuration options for QUIC.
The settings in this class are only relevant if QUIC is enabled. Use
HttpEngine.Builder#setEnableQuic(boolean)
to enable / disable QUIC for
the HTTP engine.
Summary
Nested classes | |
---|---|
class |
QuicOptions.Builder
Builder for |
Public methods | |
---|---|
Set<String>
|
getAllowedQuicHosts()
|
String
|
getHandshakeUserAgent()
|
Duration
|
getIdleConnectionTimeout()
|
int
|
getInMemoryServerConfigsCacheSize()
|
boolean
|
hasInMemoryServerConfigsCacheSize()
|
Inherited methods | |
---|---|
Public methods
getAllowedQuicHosts
public Set<String> getAllowedQuicHosts ()
See Builder#addAllowedQuicHost
Returns | |
---|---|
Set<String> |
This value cannot be null . |
getHandshakeUserAgent
public String getHandshakeUserAgent ()
See Builder#setHandshakeUserAgent
Returns | |
---|---|
String |
This value may be null . |
getIdleConnectionTimeout
public Duration getIdleConnectionTimeout ()
See Builder#setIdleConnectionTimeout
Returns | |
---|---|
Duration |
This value may be null . |
getInMemoryServerConfigsCacheSize
public int getInMemoryServerConfigsCacheSize ()
See Builder#setInMemoryServerConfigsCacheSize
Returns | |
---|---|
int |
hasInMemoryServerConfigsCacheSize
public boolean hasInMemoryServerConfigsCacheSize ()
See Builder#setInMemoryServerConfigsCacheSize
Returns | |
---|---|
boolean |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-04 UTC."],[],[]]