Top Description Fields Methods
io.netty.handler.codec.spdy

public Interface SpdySettingsFrame

extends SpdyFrame
Known Direct Implementers
io.netty.handler.codec.spdy.DefaultSpdySettingsFrame
Imports
java.util.Set

A SPDY Protocol SETTINGS Frame

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int

Method Summary

Modifier and TypeMethod and Description
public boolean
clearPreviouslyPersistedSettings()

Returns true if previously persisted settings should be cleared.

public int
getValue(int id)

Returns the value of the setting ID. Returns -1 if the setting ID is not set.

public Set<Integer>
ids()

Returns a Set of the setting IDs.

public boolean
isPersisted(int id)

Returns true if this setting is persisted.

public boolean
isPersistValue(int id)

Returns true if this setting should be persisted.

public boolean
isSet(int id)

Returns true if the setting ID has a value.

public SpdySettingsFrame
removeValue(int id)

Removes the value of the setting ID. Removes all persistence information for the setting.

public SpdySettingsFrame
setClearPreviouslyPersistedSettings(boolean clear)

Sets if previously persisted settings should be cleared.

public SpdySettingsFrame
setPersisted(int id, boolean persisted)

Sets if this setting is persisted.

public SpdySettingsFrame
setPersistValue(int id, boolean persistValue)

Sets if this setting should be persisted.

public SpdySettingsFrame
setValue(int id, int value)

Sets the value of the setting ID. The ID cannot be negative and cannot exceed 16777215.

public SpdySettingsFrame
setValue(int id, int value, boolean persistVal, boolean persisted)

Sets the value of the setting ID. Sets if the setting should be persisted (should only be set by the server).

Field Detail

SETTINGS_CLIENT_CERTIFICATE_VECTOR_SIZEback to summary
public static final int SETTINGS_CLIENT_CERTIFICATE_VECTOR_SIZE
SETTINGS_CURRENT_CWNDback to summary
public static final int SETTINGS_CURRENT_CWND
SETTINGS_DOWNLOAD_BANDWIDTHback to summary
public static final int SETTINGS_DOWNLOAD_BANDWIDTH
SETTINGS_DOWNLOAD_RETRANS_RATEback to summary
public static final int SETTINGS_DOWNLOAD_RETRANS_RATE
SETTINGS_INITIAL_WINDOW_SIZEback to summary
public static final int SETTINGS_INITIAL_WINDOW_SIZE
SETTINGS_MAX_CONCURRENT_STREAMSback to summary
public static final int SETTINGS_MAX_CONCURRENT_STREAMS
SETTINGS_MINOR_VERSIONback to summary
public static final int SETTINGS_MINOR_VERSION
SETTINGS_ROUND_TRIP_TIMEback to summary
public static final int SETTINGS_ROUND_TRIP_TIME
SETTINGS_UPLOAD_BANDWIDTHback to summary
public static final int SETTINGS_UPLOAD_BANDWIDTH

Method Detail

clearPreviouslyPersistedSettingsback to summary
public boolean clearPreviouslyPersistedSettings()

Returns true if previously persisted settings should be cleared.

getValueback to summary
public int getValue(int id)

Returns the value of the setting ID. Returns -1 if the setting ID is not set.

idsback to summary
public Set<Integer> ids()

Returns a Set of the setting IDs. The set's iterator will return the IDs in ascending order.

isPersistedback to summary
public boolean isPersisted(int id)

Returns true if this setting is persisted. Returns false if this setting should not be persisted or if the setting ID has no value.

isPersistValueback to summary
public boolean isPersistValue(int id)

Returns true if this setting should be persisted. Returns false if this setting should not be persisted or if the setting ID has no value.

isSetback to summary
public boolean isSet(int id)

Returns true if the setting ID has a value.

removeValueback to summary
public SpdySettingsFrame removeValue(int id)

Removes the value of the setting ID. Removes all persistence information for the setting.

setClearPreviouslyPersistedSettingsback to summary
public SpdySettingsFrame setClearPreviouslyPersistedSettings(boolean clear)

Sets if previously persisted settings should be cleared.

setPersistedback to summary
public SpdySettingsFrame setPersisted(int id, boolean persisted)

Sets if this setting is persisted. Has no effect if the setting ID has no value.

setPersistValueback to summary
public SpdySettingsFrame setPersistValue(int id, boolean persistValue)

Sets if this setting should be persisted. Has no effect if the setting ID has no value.

setValueback to summary
public SpdySettingsFrame setValue(int id, int value)

Sets the value of the setting ID. The ID cannot be negative and cannot exceed 16777215.

setValueback to summary
public SpdySettingsFrame setValue(int id, int value, boolean persistVal, boolean persisted)

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.