Class DefaultSpdySettingsFrame

    • Constructor Detail

      • DefaultSpdySettingsFrame

        public DefaultSpdySettingsFrame()
    • Method Detail

      • getValue

        public int getValue​(int id)
        Description copied from interface: SpdySettingsFrame
        Returns the value of the setting ID. Returns -1 if the setting ID is not set.
        Specified by:
        getValue in interface SpdySettingsFrame
      • setValue

        public void setValue​(int id,
                             int value)
        Description copied from interface: SpdySettingsFrame
        Sets the value of the setting ID. The ID cannot be negative and cannot exceed 16777215.
        Specified by:
        setValue in interface SpdySettingsFrame
      • setValue

        public void setValue​(int id,
                             int value,
                             boolean persistValue,
                             boolean persisted)
        Description copied from interface: SpdySettingsFrame
        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.
        Specified by:
        setValue in interface SpdySettingsFrame
      • removeValue

        public void removeValue​(int id)
        Description copied from interface: SpdySettingsFrame
        Removes the value of the setting ID. Removes all persistence information for the setting.
        Specified by:
        removeValue in interface SpdySettingsFrame
      • isPersistValue

        public boolean isPersistValue​(int id)
        Description copied from interface: SpdySettingsFrame
        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.
        Specified by:
        isPersistValue in interface SpdySettingsFrame
      • setPersistValue

        public void setPersistValue​(int id,
                                    boolean persistValue)
        Description copied from interface: SpdySettingsFrame
        Sets if this setting should be persisted. Has no effect if the setting ID has no value.
        Specified by:
        setPersistValue in interface SpdySettingsFrame
      • isPersisted

        public boolean isPersisted​(int id)
        Description copied from interface: SpdySettingsFrame
        Returns true if this setting is persisted. Returns false if this setting should not be persisted or if the setting ID has no value.
        Specified by:
        isPersisted in interface SpdySettingsFrame
      • setPersisted

        public void setPersisted​(int id,
                                 boolean persisted)
        Description copied from interface: SpdySettingsFrame
        Sets if this setting is persisted. Has no effect if the setting ID has no value.
        Specified by:
        setPersisted in interface SpdySettingsFrame