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. |
java.util.Set<java.lang.Integer> |
getIds()
Returns a
Set of the setting IDs. |
int |
getValue(int id)
Returns the value of the setting ID.
|
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. |
void |
removeValue(int id)
Removes the value of the setting ID.
|
void |
setClearPreviouslyPersistedSettings(boolean clear)
Sets if previously persisted settings should be cleared.
|
void |
setPersisted(int id,
boolean persisted)
Sets if this setting is persisted.
|
void |
setPersistValue(int id,
boolean persistValue)
Sets if this setting should be persisted.
|
void |
setValue(int id,
int value)
Sets the value of the setting ID.
|
void |
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> getIds()
SpdySettingsFrame
Set
of the setting IDs.
The set's iterator will return the IDs in ascending order.getIds
在接口中 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 void setValue(int id, int value)
SpdySettingsFrame
setValue
在接口中 SpdySettingsFrame
public void setValue(int id, int value, boolean persistValue, boolean persisted)
SpdySettingsFrame
setValue
在接口中 SpdySettingsFrame
public void 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 void 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 void setPersisted(int id, boolean persisted)
SpdySettingsFrame
setPersisted
在接口中 SpdySettingsFrame
public boolean clearPreviouslyPersistedSettings()
SpdySettingsFrame
true
if previously persisted settings should be cleared.public void setClearPreviouslyPersistedSettings(boolean clear)
SpdySettingsFrame
public java.lang.String toString()
toString
在类中 java.lang.Object