语言

ProxySelectorRoutePlanner 构造函数

定义

重载

名称 说明
ProxySelectorRoutePlanner(SchemeRegistry, ProxySelector)

创建在请求参数未显式选择或禁用代理时使用代理选择器的路由规划器。

ProxySelectorRoutePlanner(IntPtr, JniHandleOwnership)

创建表示现有Java对象的托管实例。

ProxySelectorRoutePlanner(SchemeRegistry, ProxySelector)

创建在请求参数未显式选择或禁用代理时使用代理选择器的路由规划器。

[Android.Runtime.Register(".ctor", "(Lorg/apache/http/conn/scheme/SchemeRegistry;Ljava/net/ProxySelector;)V", "")]
public ProxySelectorRoutePlanner(Org.Apache.Http.Conn.Schemes.SchemeRegistry? schreg, Java.Net.ProxySelector? prosel);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/conn/scheme/SchemeRegistry;Ljava/net/ProxySelector;)V", "")>]
new Org.Apache.Http.Impl.Conn.ProxySelectorRoutePlanner : Org.Apache.Http.Conn.Schemes.SchemeRegistry * Java.Net.ProxySelector -> Org.Apache.Http.Impl.Conn.ProxySelectorRoutePlanner

参数

schreg
SchemeRegistry

用于查找目标方案的非 null 注册表。

prosel
ProxySelector

代理选择器,或使用 null 系统默认值。

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

ProxySelectorRoutePlanner(IntPtr, JniHandleOwnership)

创建表示现有Java对象的托管实例。

protected ProxySelectorRoutePlanner(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Impl.Conn.ProxySelectorRoutePlanner : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Impl.Conn.ProxySelectorRoutePlanner

参数

javaReference
IntPtr

nativeint

对Java对象的 JNI 引用。

transfer
JniHandleOwnership

指定 JNI 引用的所有权是否传输到此实例。

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于