diff --git a/servicetalk-tcp-netty-internal/src/main/java/io/servicetalk/tcp/netty/internal/AbstractReadOnlyTcpConfig.java b/servicetalk-tcp-netty-internal/src/main/java/io/servicetalk/tcp/netty/internal/AbstractReadOnlyTcpConfig.java index 5f456837cd..7506821960 100644 --- a/servicetalk-tcp-netty-internal/src/main/java/io/servicetalk/tcp/netty/internal/AbstractReadOnlyTcpConfig.java +++ b/servicetalk-tcp-netty-internal/src/main/java/io/servicetalk/tcp/netty/internal/AbstractReadOnlyTcpConfig.java @@ -17,6 +17,7 @@ import io.servicetalk.logging.api.UserDataLoggerConfig; import io.servicetalk.transport.api.ServiceTalkSocketOptions; +import io.servicetalk.transport.api.SslConfig; import io.servicetalk.transport.netty.internal.FlushStrategy; import io.netty.channel.ChannelOption; @@ -104,4 +105,12 @@ public final UserDataLoggerConfig wireLoggerConfig() { */ @Nullable public abstract SslContext sslContext(); + + /** + * Get the {@link SslConfig}. + * + * @return the {@link SslConfig}, or {@code null} if SSL/TLS is not configured. + */ + @Nullable + public abstract SslConfig sslConfig(); } diff --git a/servicetalk-tcp-netty-internal/src/main/java/io/servicetalk/tcp/netty/internal/ReadOnlyTcpClientConfig.java b/servicetalk-tcp-netty-internal/src/main/java/io/servicetalk/tcp/netty/internal/ReadOnlyTcpClientConfig.java index 20ddcb6de5..8d2f3ed060 100644 --- a/servicetalk-tcp-netty-internal/src/main/java/io/servicetalk/tcp/netty/internal/ReadOnlyTcpClientConfig.java +++ b/servicetalk-tcp-netty-internal/src/main/java/io/servicetalk/tcp/netty/internal/ReadOnlyTcpClientConfig.java @@ -82,6 +82,7 @@ public String preferredAlpnProtocol() { * @return the {@link ClientSslConfig}, or {@code null} if SSL/TLS is not configured. */ @Nullable + @Override public ClientSslConfig sslConfig() { return sslConfig; } diff --git a/servicetalk-tcp-netty-internal/src/main/java/io/servicetalk/tcp/netty/internal/ReadOnlyTcpServerConfig.java b/servicetalk-tcp-netty-internal/src/main/java/io/servicetalk/tcp/netty/internal/ReadOnlyTcpServerConfig.java index 3a6f8da24b..db0e757e39 100644 --- a/servicetalk-tcp-netty-internal/src/main/java/io/servicetalk/tcp/netty/internal/ReadOnlyTcpServerConfig.java +++ b/servicetalk-tcp-netty-internal/src/main/java/io/servicetalk/tcp/netty/internal/ReadOnlyTcpServerConfig.java @@ -114,6 +114,7 @@ public TransportObserver transportObserver() { * @return the {@link ServerSslConfig}, or {@code null} if SSL/TLS is not configured. */ @Nullable + @Override public ServerSslConfig sslConfig() { return sslConfig; }