public class DefaultSpdySettingsFrame extends 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
Constructor and Description |
---|
DefaultSpdySettingsFrame() |
Modifier and Type | Method and Description |
---|---|
boolean |
clearPreviouslyPersistedSettings()
Returns
true if previously persisted settings should be cleared. |
int |
getValue(int id)
Returns the value of the setting ID.
|
Set<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.
|
String |
toString() |
public Set<Integer> ids()
SpdySettingsFrame
Set
of the setting IDs.
The set's iterator will return the IDs in ascending order.ids
in interface SpdySettingsFrame
public boolean isSet(int id)
SpdySettingsFrame
true
if the setting ID has a value.isSet
in interface SpdySettingsFrame
public int getValue(int id)
SpdySettingsFrame
getValue
in interface SpdySettingsFrame
public SpdySettingsFrame setValue(int id, int value)
SpdySettingsFrame
setValue
in interface SpdySettingsFrame
public SpdySettingsFrame setValue(int id, int value, boolean persistValue, boolean persisted)
SpdySettingsFrame
setValue
in interface SpdySettingsFrame
public SpdySettingsFrame removeValue(int id)
SpdySettingsFrame
removeValue
in interface 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
in interface SpdySettingsFrame
public SpdySettingsFrame setPersistValue(int id, boolean persistValue)
SpdySettingsFrame
setPersistValue
in interface 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
in interface SpdySettingsFrame
public SpdySettingsFrame setPersisted(int id, boolean persisted)
SpdySettingsFrame
setPersisted
in interface SpdySettingsFrame
public boolean clearPreviouslyPersistedSettings()
SpdySettingsFrame
true
if previously persisted settings should be cleared.clearPreviouslyPersistedSettings
in interface SpdySettingsFrame
public SpdySettingsFrame setClearPreviouslyPersistedSettings(boolean clear)
SpdySettingsFrame
setClearPreviouslyPersistedSettings
in interface SpdySettingsFrame
Copyright © 2008–2017 The Netty Project. All rights reserved.