SingleClientConnManager.ConnAdapter 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 |
|---|---|
| SingleClientConnManager.ConnAdapter(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
| SingleClientConnManager.ConnAdapter(SingleClientConnManager, SingleClientConnManager+PoolEntry, HttpRoute) |
Creates a connection adapter for the enclosing manager, marks it reusable, and records the planned route in the pool entry. |
SingleClientConnManager.ConnAdapter(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
protected ConnAdapter(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Impl.Conn.SingleClientConnManager.ConnAdapter : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Impl.Conn.SingleClientConnManager.ConnAdapter
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.
Applies to
SingleClientConnManager.ConnAdapter(SingleClientConnManager, SingleClientConnManager+PoolEntry, HttpRoute)
Creates a connection adapter for the enclosing manager, marks it reusable, and records the planned route in the pool entry.
[Android.Runtime.Register(".ctor", "(Lorg/apache/http/impl/conn/SingleClientConnManager;Lorg/apache/http/impl/conn/SingleClientConnManager$PoolEntry;Lorg/apache/http/conn/routing/HttpRoute;)V", "")]
protected ConnAdapter(Org.Apache.Http.Impl.Conn.SingleClientConnManager? __self, Org.Apache.Http.Impl.Conn.SingleClientConnManager.PoolEntry? entry, Org.Apache.Http.Conn.Routing.HttpRoute? route);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/impl/conn/SingleClientConnManager;Lorg/apache/http/impl/conn/SingleClientConnManager$PoolEntry;Lorg/apache/http/conn/routing/HttpRoute;)V", "")>]
new Org.Apache.Http.Impl.Conn.SingleClientConnManager.ConnAdapter : Org.Apache.Http.Impl.Conn.SingleClientConnManager * Org.Apache.Http.Impl.Conn.SingleClientConnManager.PoolEntry * Org.Apache.Http.Conn.Routing.HttpRoute -> Org.Apache.Http.Impl.Conn.SingleClientConnManager.ConnAdapter
Parameters
- __self
- SingleClientConnManager
The enclosing manager instance required by this Java inner class.
The pool entry whose connection is wrapped.
- route
- HttpRoute
The planned route to store in the pool entry.
- 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.