Class DefaultHttp3SettingsFrame

    • Constructor Detail

      • DefaultHttp3SettingsFrame

        public DefaultHttp3SettingsFrame​(Http3Settings settings)
      • DefaultHttp3SettingsFrame

        public DefaultHttp3SettingsFrame()
    • Method Detail

      • get

        @Deprecated
        @Nullable
        public @Nullable java.lang.Long get​(long key)
        Deprecated.
        use settings() and manipulate the Http3Settings directly
        Get a setting by its key.
        Specified by:
        get in interface Http3SettingsFrame
        Parameters:
        key - the HTTP/3 setting key
        Returns:
        the value, or null if not set
      • put

        @Deprecated
        @Nullable
        public @Nullable java.lang.Long put​(long key,
                                            java.lang.Long value)
        Deprecated.
        use settings() and manipulate the Http3Settings directly
        Set a setting value by key.
        Specified by:
        put in interface Http3SettingsFrame
        Parameters:
        key - the HTTP/3 setting key
        value - the value to set
        Returns:
        the previous value, or null if none
        Throws:
        java.lang.IllegalArgumentException - if the key is reserved for HTTP/2
      • iterator

        public java.util.Iterator<java.util.Map.Entry<java.lang.Long,​java.lang.Long>> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<java.util.Map.Entry<java.lang.Long,​java.lang.Long>>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • toString

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