api: remove experimentalApi setting from proxyDetector and related classes (#10216)

This commit is contained in:
sanjaypujare 2023-05-25 13:46:24 -07:00 committed by GitHub
parent e875d1b01c
commit 3b2cba09c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 4 deletions

View File

@ -28,7 +28,6 @@ import javax.annotation.Nullable;
/** /**
* An {@link ProxiedSocketAddress} for making a connection to an endpoint via an HTTP CONNECT proxy. * An {@link ProxiedSocketAddress} for making a connection to an endpoint via an HTTP CONNECT proxy.
*/ */
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/5279")
public final class HttpConnectProxiedSocketAddress extends ProxiedSocketAddress { public final class HttpConnectProxiedSocketAddress extends ProxiedSocketAddress {
private static final long serialVersionUID = 0L; private static final long serialVersionUID = 0L;

View File

@ -517,7 +517,6 @@ public abstract class ManagedChannelBuilder<T extends ManagedChannelBuilder<T>>
* @return this * @return this
* @since 1.19.0 * @since 1.19.0
*/ */
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/5113")
public T proxyDetector(ProxyDetector proxyDetector) { public T proxyDetector(ProxyDetector proxyDetector) {
throw new UnsupportedOperationException(); throw new UnsupportedOperationException();
} }

View File

@ -22,7 +22,6 @@ import java.net.SocketAddress;
* An address that contains the information about making a connection via a proxy. It is created by * An address that contains the information about making a connection via a proxy. It is created by
* a {@link ProxyDetector}. * a {@link ProxyDetector}.
*/ */
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/5279")
public abstract class ProxiedSocketAddress extends SocketAddress { public abstract class ProxiedSocketAddress extends SocketAddress {
private static final long serialVersionUID = 0L; private static final long serialVersionUID = 0L;
} }

View File

@ -46,7 +46,6 @@ import javax.annotation.Nullable;
* Netty transport and the OkHttp transport currently only support {@link * Netty transport and the OkHttp transport currently only support {@link
* HttpConnectProxiedSocketAddress} which is returned by the default {@code ProxyDetector}. * HttpConnectProxiedSocketAddress} which is returned by the default {@code ProxyDetector}.
*/ */
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/5279")
public interface ProxyDetector { public interface ProxyDetector {
/** /**
* Given a target address, returns a proxied address if a proxy should be used. If no proxy should * Given a target address, returns a proxied address if a proxy should be used. If no proxy should