mirror of https://github.com/grpc/grpc-java.git
api: remove experimentalApi setting from proxyDetector and related classes (#10216)
This commit is contained in:
parent
e875d1b01c
commit
3b2cba09c1
|
@ -28,7 +28,6 @@ import javax.annotation.Nullable;
|
|||
/**
|
||||
* 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 {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
|
|
|
@ -517,7 +517,6 @@ public abstract class ManagedChannelBuilder<T extends ManagedChannelBuilder<T>>
|
|||
* @return this
|
||||
* @since 1.19.0
|
||||
*/
|
||||
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/5113")
|
||||
public T proxyDetector(ProxyDetector proxyDetector) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
|
|
@ -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
|
||||
* a {@link ProxyDetector}.
|
||||
*/
|
||||
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/5279")
|
||||
public abstract class ProxiedSocketAddress extends SocketAddress {
|
||||
private static final long serialVersionUID = 0L;
|
||||
}
|
||||
|
|
|
@ -46,7 +46,6 @@ import javax.annotation.Nullable;
|
|||
* Netty transport and the OkHttp transport currently only support {@link
|
||||
* HttpConnectProxiedSocketAddress} which is returned by the default {@code ProxyDetector}.
|
||||
*/
|
||||
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/5279")
|
||||
public interface ProxyDetector {
|
||||
/**
|
||||
* Given a target address, returns a proxied address if a proxy should be used. If no proxy should
|
||||
|
|
Loading…
Reference in New Issue