Skip to content

Commit

Permalink
Annotate HTTP/3 server support as incubating (#3183)
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg authored Apr 19, 2024
1 parent e94eeb4 commit 5aacc3a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
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

0 comments on commit 5aacc3a

Please sign in to comment.