AbstractConnPool.RequestPoolEntry(HttpRoute, Object) Method
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.
Creates an abortable request for a pool entry.
[Android.Runtime.Register("requestPoolEntry", "(Lorg/apache/http/conn/routing/HttpRoute;Ljava/lang/Object;)Lorg/apache/http/impl/conn/tsccm/PoolEntryRequest;", "GetRequestPoolEntry_Lorg_apache_http_conn_routing_HttpRoute_Ljava_lang_Object_Handler")]
public abstract Org.Apache.Http.Impl.Conn.Tsccm.IPoolEntryRequest? RequestPoolEntry(Org.Apache.Http.Conn.Routing.HttpRoute? route, Java.Lang.Object? state);
[<Android.Runtime.Register("requestPoolEntry", "(Lorg/apache/http/conn/routing/HttpRoute;Ljava/lang/Object;)Lorg/apache/http/impl/conn/tsccm/PoolEntryRequest;", "GetRequestPoolEntry_Lorg_apache_http_conn_routing_HttpRoute_Ljava_lang_Object_Handler")>]
abstract member RequestPoolEntry : Org.Apache.Http.Conn.Routing.HttpRoute * Java.Lang.Object -> Org.Apache.Http.Impl.Conn.Tsccm.IPoolEntryRequest
Parameters
- route
- HttpRoute
The route for which to request a connection.
- state
- Object
The requested connection state.
Returns
A request that can acquire or abort acquisition of a 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.