ProxySelectorRoutePlanner Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ProxySelectorRoutePlanner(SchemeRegistry, ProxySelector) |
Creates a route planner that uses a proxy selector when request parameters do not explicitly select or disable a proxy. |
| ProxySelectorRoutePlanner(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
ProxySelectorRoutePlanner(SchemeRegistry, ProxySelector)
Creates a route planner that uses a proxy selector when request parameters do not explicitly select or disable a proxy.
[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
Parameters
- schreg
- SchemeRegistry
The non-null registry used to look up target schemes.
- prosel
- ProxySelector
The proxy selector, or null to use the system default.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ProxySelectorRoutePlanner(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
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
Parameters
- javaReference
-
IntPtr
nativeint
A JNI reference to the Java object.
- transfer
- JniHandleOwnership
Specifies whether ownership of the JNI reference transfers to this instance.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.