Interface SpdySettingsFrame

All Superinterfaces:
SpdyFrame
All Known Implementing Classes:
DefaultSpdySettingsFrame

public interface SpdySettingsFrame extends SpdyFrame
A SPDY Protocol SETTINGS Frame
  • Field Details

    • SETTINGS_MINOR_VERSION

      static final int SETTINGS_MINOR_VERSION
      See Also:
    • SETTINGS_UPLOAD_BANDWIDTH

      static final int SETTINGS_UPLOAD_BANDWIDTH
      See Also:
    • SETTINGS_DOWNLOAD_BANDWIDTH

      static final int SETTINGS_DOWNLOAD_BANDWIDTH
      See Also:
    • SETTINGS_ROUND_TRIP_TIME

      static final int SETTINGS_ROUND_TRIP_TIME
      See Also:
    • SETTINGS_MAX_CONCURRENT_STREAMS

      static final int SETTINGS_MAX_CONCURRENT_STREAMS
      See Also:
    • SETTINGS_CURRENT_CWND

      static final int SETTINGS_CURRENT_CWND
      See Also:
    • SETTINGS_DOWNLOAD_RETRANS_RATE

      static final int SETTINGS_DOWNLOAD_RETRANS_RATE
      See Also:
    • SETTINGS_INITIAL_WINDOW_SIZE

      static final int SETTINGS_INITIAL_WINDOW_SIZE
      See Also:
    • SETTINGS_CLIENT_CERTIFICATE_VECTOR_SIZE

      static final int SETTINGS_CLIENT_CERTIFICATE_VECTOR_SIZE
      See Also:
  • Method Details

    • ids

      Set<Integer> ids()
      Returns a Set of the setting IDs. The set's iterator will return the IDs in ascending order.
    • isSet

      boolean isSet(int id)
      Returns true if the setting ID has a value.
    • getValue

      int getValue(int id)
      Returns the value of the setting ID. Returns -1 if the setting ID is not set.
    • setValue

      SpdySettingsFrame setValue(int id, int value)
      Sets the value of the setting ID. The ID cannot be negative and cannot exceed 16777215.
    • setValue

      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.
    • removeValue

      SpdySettingsFrame removeValue(int id)
      Removes the value of the setting ID. Removes all persistence information for the setting.
    • isPersistValue

      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.
    • setPersistValue

      SpdySettingsFrame setPersistValue(int id, boolean persistValue)
      Sets if this setting should be persisted. Has no effect if the setting ID has no value.
    • isPersisted

      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.
    • setPersisted

      SpdySettingsFrame setPersisted(int id, boolean persisted)
      Sets if this setting is persisted. Has no effect if the setting ID has no value.
    • clearPreviouslyPersistedSettings

      boolean clearPreviouslyPersistedSettings()
      Returns true if previously persisted settings should be cleared.
    • setClearPreviouslyPersistedSettings

      SpdySettingsFrame setClearPreviouslyPersistedSettings(boolean clear)
      Sets if previously persisted settings should be cleared.