Class DefaultSpdySettingsFrame

    • Constructor Detail

      • DefaultSpdySettingsFrame

        public DefaultSpdySettingsFrame()
    • Method Detail

      • ids

        public java.util.Set<java.lang.Integer> ids()
        Description copied from interface: SpdySettingsFrame
        Returns a Set of the setting IDs. The set's iterator will return the IDs in ascending order.
        Specified by:
        ids in interface SpdySettingsFrame
      • 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 SpdySettingsFrame 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
      • 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
      • 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
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object