public class DefaultSpdySettingsFrame extends java.lang.Object implements SpdySettingsFrame
SpdySettingsFrame
implementation.SETTINGS_CLIENT_CERTIFICATE_VECTOR_SIZE, SETTINGS_CURRENT_CWND, SETTINGS_DOWNLOAD_BANDWIDTH, SETTINGS_DOWNLOAD_RETRANS_RATE, SETTINGS_INITIAL_WINDOW_SIZE, SETTINGS_MAX_CONCURRENT_STREAMS, SETTINGS_MINOR_VERSION, SETTINGS_ROUND_TRIP_TIME, SETTINGS_UPLOAD_BANDWIDTH
构造器和说明 |
---|
DefaultSpdySettingsFrame() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
clearPreviouslyPersistedSettings()
Returns
true if previously persisted settings should be cleared. |
int |
getValue(int id)
Returns the value of the setting ID.
|
java.util.Set<java.lang.Integer> |
ids()
Returns a
Set of the setting IDs. |
boolean |
isPersisted(int id)
Returns
true if this setting is persisted. |
boolean |
isPersistValue(int id)
Returns
true if this setting should be persisted. |
boolean |
isSet(int id)
Returns
true if the setting ID has a value. |
SpdySettingsFrame |
removeValue(int id)
Removes the value of the setting ID.
|
SpdySettingsFrame |
setClearPreviouslyPersistedSettings(boolean clear)
Sets if previously persisted settings should be cleared.
|
SpdySettingsFrame |
setPersisted(int id,
boolean persisted)
Sets if this setting is persisted.
|
SpdySettingsFrame |
setPersistValue(int id,
boolean persistValue)
Sets if this setting should be persisted.
|
SpdySettingsFrame |
setValue(int id,
int value)
Sets the value of the setting ID.
|
SpdySettingsFrame |
setValue(int id,
int value,
boolean persistValue,
boolean persisted)
Sets the value of the setting ID.
|
java.lang.String |
toString() |
public java.util.Set<java.lang.Integer> ids()
SpdySettingsFrame
Set
of the setting IDs.
The set's iterator will return the IDs in ascending order.ids
在接口中 SpdySettingsFrame
public boolean isSet(int id)
SpdySettingsFrame
true
if the setting ID has a value.isSet
在接口中 SpdySettingsFrame
public int getValue(int id)
SpdySettingsFrame
getValue
在接口中 SpdySettingsFrame
public SpdySettingsFrame setValue(int id, int value)
SpdySettingsFrame
setValue
在接口中 SpdySettingsFrame
public SpdySettingsFrame setValue(int id, int value, boolean persistValue, boolean persisted)
SpdySettingsFrame
setValue
在接口中 SpdySettingsFrame
public SpdySettingsFrame removeValue(int id)
SpdySettingsFrame
removeValue
在接口中 SpdySettingsFrame
public boolean isPersistValue(int id)
SpdySettingsFrame
true
if this setting should be persisted.
Returns false
if this setting should not be persisted
or if the setting ID has no value.isPersistValue
在接口中 SpdySettingsFrame
public SpdySettingsFrame setPersistValue(int id, boolean persistValue)
SpdySettingsFrame
setPersistValue
在接口中 SpdySettingsFrame
public boolean isPersisted(int id)
SpdySettingsFrame
true
if this setting is persisted.
Returns false
if this setting should not be persisted
or if the setting ID has no value.isPersisted
在接口中 SpdySettingsFrame
public SpdySettingsFrame setPersisted(int id, boolean persisted)
SpdySettingsFrame
setPersisted
在接口中 SpdySettingsFrame
public boolean clearPreviouslyPersistedSettings()
SpdySettingsFrame
true
if previously persisted settings should be cleared.public SpdySettingsFrame setClearPreviouslyPersistedSettings(boolean clear)
SpdySettingsFrame
public java.lang.String toString()
toString
在类中 java.lang.Object