Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotate HTTP/3 server support as incubating #3183

Merged
merged 1 commit into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
package reactor.netty.http;

import io.netty.incubator.codec.quic.QuicTokenHandler;
import reactor.util.annotation.Incubating;
import reactor.util.annotation.Nullable;

import java.util.Objects;
Expand All @@ -26,6 +27,7 @@
* @author Violeta Georgieva
* @since 1.2.0
*/
@Incubating
public final class Http3SettingsSpec {

public interface Builder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import io.netty.handler.ssl.SslContext;
import io.netty.incubator.codec.quic.QuicSslContextBuilder;
import reactor.netty.tcp.SslProvider;
import reactor.util.annotation.Incubating;
import reactor.util.annotation.Nullable;

import javax.net.ssl.KeyManager;
Expand All @@ -42,6 +43,7 @@
* @since 1.2.0
* @see io.netty.incubator.codec.http3.Http3#supportedApplicationProtocols()
*/
@Incubating
public final class Http3SslContextSpec implements SslProvider.GenericSslContextSpec<QuicSslContextBuilder> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*/
package reactor.netty.http;

import reactor.util.annotation.Incubating;

/**
* An enum defining various HTTP negotiations between H2, H2C-upgrade,
* H2C-prior-knowledge and HTTP/1.1.
Expand Down Expand Up @@ -54,5 +56,6 @@ public enum HttpProtocol {
* HTTP/3.0 support.
* @since 1.2.0
*/
@Incubating
HTTP3
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
import reactor.netty.transport.ServerTransport;
import reactor.util.Logger;
import reactor.util.Loggers;
import reactor.util.annotation.Incubating;
import reactor.util.annotation.Nullable;
import reactor.util.context.Context;

Expand Down Expand Up @@ -464,6 +465,7 @@ public final HttpServer http2Settings(Consumer<Http2SettingsSpec.Builder> http2S
* @return a new {@link HttpServer}
* @since 1.2.0
*/
@Incubating
public final HttpServer http3Settings(Consumer<Http3SettingsSpec.Builder> http3Settings) {
Objects.requireNonNull(http3Settings, "http3Settings");
if (!isHttp3Available()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
import reactor.netty.transport.logging.AdvancedByteBufFormat;
import reactor.util.Logger;
import reactor.util.Loggers;
import reactor.util.annotation.Incubating;
import reactor.util.annotation.Nullable;

import java.net.SocketAddress;
Expand Down Expand Up @@ -170,6 +171,7 @@ public Http2SettingsSpec http2SettingsSpec() {
* @return the HTTP/3 configuration
* @since 1.2.0
*/
@Incubating
public Http3SettingsSpec http3SettingsSpec() {
return http3Settings;
}
Expand Down