SpdySettingsFrame implementation.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public boolean | clearPreviouslyPersistedSettings()
Implements io. true if previously persisted settings should be cleared.
|
| private Set | |
| public int | getValue(int id)
Implements io. |
| public Set | ids()
Implements io. Set of the setting IDs.
|
| public boolean | isPersisted(int id)
Implements io. true if this setting is persisted.
|
| public boolean | isPersistValue(int id)
Implements io. true if this setting should be persisted.
|
| public boolean | isSet(int id)
Implements io. true if the setting ID has a value.
|
| public SpdySettingsFrame | removeValue(int id)
Implements io. |
| public SpdySettingsFrame | setClearPreviouslyPersistedSettings(boolean clear)
Implements io. |
| public SpdySettingsFrame | setPersisted(int id, boolean persisted)
Implements io. |
| public SpdySettingsFrame | setPersistValue(int id, boolean persistValue)
Implements io. |
| public SpdySettingsFrame | setValue(int id, int value)
Implements io. |
| public SpdySettingsFrame | setValue(int id, int value, boolean persistValue, boolean persisted)
Implements io. |
| public String |
| clear | back to summary |
|---|---|
| private boolean clear | |
| settingsMap | back to summary |
|---|---|
| private final Map<Integer, DefaultSpdySettingsFrame. | |
| DefaultSpdySettingsFrame | back to summary |
|---|---|
| public DefaultSpdySettingsFrame() | |
| appendSettings | back to summary |
|---|---|
| private void appendSettings(StringBuilder buf) | |
| clearPreviouslyPersistedSettings | back to summary |
|---|---|
| public boolean clearPreviouslyPersistedSettings() Implements io. Doc from io. Returns
| |
| getSettings | back to summary |
|---|---|
| private Set | |
| getValue | back to summary |
|---|---|
| public int getValue(int id) Implements io. Doc from io. Returns the value of the setting ID. Returns -1 if the setting ID is not set.
| |
| ids | back to summary |
|---|---|
| public Set Implements io. Doc from io. Returns a
| |
| isPersisted | back to summary |
|---|---|
| public boolean isPersisted(int id) Implements io. Doc from io. Returns
| |
| isPersistValue | back to summary |
|---|---|
| public boolean isPersistValue(int id) Implements io. Doc from io. Returns
| |
| isSet | back to summary |
|---|---|
| public boolean isSet(int id) Implements io. Doc from io. Returns
| |
| removeValue | back to summary |
|---|---|
| public SpdySettingsFrame removeValue(int id) Implements io. Doc from io. Removes the value of the setting ID. Removes all persistence information for the setting.
| |
| setClearPreviouslyPersistedSettings | back to summary |
|---|---|
| public SpdySettingsFrame setClearPreviouslyPersistedSettings(boolean clear) Implements io. Doc from io. Sets if previously persisted settings should be cleared.
| |
| setPersisted | back to summary |
|---|---|
| public SpdySettingsFrame setPersisted(int id, boolean persisted) Implements io. Doc from io. Sets if this setting is persisted. Has no effect if the setting ID has no value.
| |
| setPersistValue | back to summary |
|---|---|
| public SpdySettingsFrame setPersistValue(int id, boolean persistValue) Implements io. Doc from io. Sets if this setting should be persisted. Has no effect if the setting ID has no value.
| |
| setValue | back to summary |
|---|---|
| public SpdySettingsFrame setValue(int id, int value) Implements io. Doc from io. Sets the value of the setting ID. The ID cannot be negative and cannot exceed 16777215.
| |
| setValue | back to summary |
|---|---|
| public SpdySettingsFrame setValue(int id, int value, boolean persistValue, boolean persisted) Implements io. Doc from io. Sets the value of the setting ID. Sets if the setting should be persisted (should only be set by the server). Sets if the setting is persisted (should only be set by the client). The ID cannot be negative and cannot exceed 16777215.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void |
| persist | back to summary |
|---|---|
| private boolean persist | |
| persisted | back to summary |
|---|---|
| private boolean persisted | |
| value | back to summary |
|---|---|
| private int value | |
| Setting | back to summary |
|---|---|
| pack-priv Setting(int value, boolean persist, boolean persisted) | |
| getValue | back to summary |
|---|---|
| pack-priv int getValue() | |
| isPersist | back to summary |
|---|---|
| pack-priv boolean isPersist() | |
| isPersisted | back to summary |
|---|---|
| pack-priv boolean isPersisted() | |
| setPersist | back to summary |
|---|---|
| pack-priv void setPersist(boolean persist) | |
| setPersisted | back to summary |
|---|---|
| pack-priv void setPersisted(boolean persisted) | |
| setValue | back to summary |
|---|---|
| pack-priv void setValue(int value) | |