diff --git a/servicetalk-http-netty/src/main/java/io/servicetalk/http/netty/ProxyResponseException.java b/servicetalk-http-netty/src/main/java/io/servicetalk/http/netty/ProxyResponseException.java index 72146423e0..dae94398d1 100644 --- a/servicetalk-http-netty/src/main/java/io/servicetalk/http/netty/ProxyResponseException.java +++ b/servicetalk-http-netty/src/main/java/io/servicetalk/http/netty/ProxyResponseException.java @@ -41,4 +41,9 @@ public class ProxyResponseException extends ProxyConnectResponseException implem public HttpResponseStatus status() { return response().status(); } + + @Override + public String toString() { + return super.toString(); + } } diff --git a/servicetalk-transport-api/src/main/java/io/servicetalk/transport/api/ConnectionObserver.java b/servicetalk-transport-api/src/main/java/io/servicetalk/transport/api/ConnectionObserver.java index 1b2c5c0353..4e23a70b72 100644 --- a/servicetalk-transport-api/src/main/java/io/servicetalk/transport/api/ConnectionObserver.java +++ b/servicetalk-transport-api/src/main/java/io/servicetalk/transport/api/ConnectionObserver.java @@ -56,7 +56,7 @@ public interface ConnectionObserver { * @deprecated Use {@link #onTransportHandshakeComplete(ConnectionInfo)} */ @Deprecated - default void onTransportHandshakeComplete() { + default void onTransportHandshakeComplete() { // FIXME: 0.43 - remove deprecated method } /** diff --git a/servicetalk-transport-netty-internal/src/main/java/io/servicetalk/transport/netty/internal/NoopTransportObserver.java b/servicetalk-transport-netty-internal/src/main/java/io/servicetalk/transport/netty/internal/NoopTransportObserver.java index e0cf91f583..3a7a5c465e 100644 --- a/servicetalk-transport-netty-internal/src/main/java/io/servicetalk/transport/netty/internal/NoopTransportObserver.java +++ b/servicetalk-transport-netty-internal/src/main/java/io/servicetalk/transport/netty/internal/NoopTransportObserver.java @@ -68,6 +68,11 @@ public void onDataWrite(final int size) { public void onFlush() { } + @Override + @SuppressWarnings("deprecation") + public void onTransportHandshakeComplete() { + } + @Override public void onTransportHandshakeComplete(final ConnectionInfo info) { }