public interface SpdySettingsFrame
Modifier and Type | Field and Description |
---|---|
static int |
SETTINGS_CLIENT_CERTIFICATE_VECTOR_SIZE |
static int |
SETTINGS_CURRENT_CWND |
static int |
SETTINGS_DOWNLOAD_BANDWIDTH |
static int |
SETTINGS_DOWNLOAD_RETRANS_RATE |
static int |
SETTINGS_INITIAL_WINDOW_SIZE |
static int |
SETTINGS_MAX_CONCURRENT_STREAMS |
static int |
SETTINGS_ROUND_TRIP_TIME |
static int |
SETTINGS_UPLOAD_BANDWIDTH |
Modifier and Type | Method and Description |
---|---|
boolean |
clearPreviouslyPersistedSettings()
Returns
true if previously persisted settings should be cleared. |
Set<Integer> |
getIds()
Returns a
Set of the setting IDs. |
Set<Integer> |
getIDs()
Deprecated.
Use
getIds() instead. |
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. |
boolean |
persistValue(int id)
Deprecated.
Use
isPersistValue(int) instead. |
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 persistVal,
boolean persisted)
Sets the value of the setting ID.
|
static final int SETTINGS_UPLOAD_BANDWIDTH
static final int SETTINGS_DOWNLOAD_BANDWIDTH
static final int SETTINGS_ROUND_TRIP_TIME
static final int SETTINGS_MAX_CONCURRENT_STREAMS
static final int SETTINGS_CURRENT_CWND
static final int SETTINGS_DOWNLOAD_RETRANS_RATE
static final int SETTINGS_INITIAL_WINDOW_SIZE
static final int SETTINGS_CLIENT_CERTIFICATE_VECTOR_SIZE
@Deprecated Set<Integer> getIDs()
getIds()
instead.Set<Integer> getIds()
Set
of the setting IDs.
The set's iterator will return the IDs in ascending order.boolean isSet(int id)
true
if the setting ID has a value.int getValue(int id)
void setValue(int id, int value)
void setValue(int id, int value, boolean persistVal, boolean persisted)
void removeValue(int id)
@Deprecated boolean persistValue(int id)
isPersistValue(int)
instead.boolean isPersistValue(int id)
true
if this setting should be persisted.
Returns false
if this setting should not be persisted
or if the setting ID has no value.void setPersistValue(int id, boolean persistValue)
boolean isPersisted(int id)
true
if this setting is persisted.
Returns false
if this setting should not be persisted
or if the setting ID has no value.void setPersisted(int id, boolean persisted)
boolean clearPreviouslyPersistedSettings()
true
if previously persisted settings should be cleared.void setClearPreviouslyPersistedSettings(boolean clear)
Copyright © 2008-2013 The Netty Project. All Rights Reserved.