// 
// Decompiled by Procyon v0.6.0
// 

package io.netty.handler.codec.http3;

import org.jetbrains.annotations.Nullable;
import java.util.Map;

public interface Http3SettingsFrame extends Http3ControlStreamFrame, Iterable<Map.Entry<Long, Long>>
{
    @Deprecated
    public static final long HTTP3_SETTINGS_QPACK_MAX_TABLE_CAPACITY = Http3SettingIdentifier.HTTP3_SETTINGS_QPACK_MAX_TABLE_CAPACITY.id();
    @Deprecated
    public static final long HTTP3_SETTINGS_QPACK_BLOCKED_STREAMS = Http3SettingIdentifier.HTTP3_SETTINGS_QPACK_BLOCKED_STREAMS.id();
    @Deprecated
    public static final long HTTP3_SETTINGS_ENABLE_CONNECT_PROTOCOL = Http3SettingIdentifier.HTTP3_SETTINGS_ENABLE_CONNECT_PROTOCOL.id();
    @Deprecated
    public static final long HTTP3_SETTINGS_MAX_FIELD_SECTION_SIZE = Http3SettingIdentifier.HTTP3_SETTINGS_MAX_FIELD_SECTION_SIZE.id();
    
    default Http3Settings settings() {
        throw new UnsupportedOperationException("Http3SettingsFrame.settings() not implemented in this version");
    }
    
    default long type() {
        return 4L;
    }
    
    @Deprecated
    @Nullable
    default Long get(final long key) {
        return this.settings().get(key);
    }
    
    @Deprecated
    default Long getOrDefault(final long key, final long defaultValue) {
        final Long val = this.get(key);
        return (val == null) ? defaultValue : val;
    }
    
    @Nullable
    @Deprecated
    default Long put(final long key, final Long value) {
        return this.settings().put(key, value);
    }
}
