Condividi tramite


HttpRoute Constructors

Definition

Overloads

HttpRoute(HttpHost)

Creates a new direct insecure route.

HttpRoute(HttpHost, InetAddress, Boolean)

Creates a new direct route.

HttpRoute(HttpHost, InetAddress, HttpHost, Boolean)

Creates a new route through a proxy.

HttpRoute(HttpHost, InetAddress, HttpHost, Boolean, RouteInfoTunnelType, RouteInfoLayerType)

Creates a new route with at most one proxy.

HttpRoute(HttpHost, InetAddress, HttpHost[], Boolean, RouteInfoTunnelType, RouteInfoLayerType)

Creates a new route with all attributes specified explicitly.

HttpRoute(HttpHost)

Creates a new direct insecure route.

[Android.Runtime.Register(".ctor", "(Lorg/apache/http/HttpHost;)V", "")]
public HttpRoute (Org.Apache.Http.HttpHost? target);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/HttpHost;)V", "")>]
new Org.Apache.Http.Conn.Routing.HttpRoute : Org.Apache.Http.HttpHost -> Org.Apache.Http.Conn.Routing.HttpRoute

Parameters

target
HttpHost
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

HttpRoute(HttpHost, InetAddress, Boolean)

Creates a new direct route.

[Android.Runtime.Register(".ctor", "(Lorg/apache/http/HttpHost;Ljava/net/InetAddress;Z)V", "")]
public HttpRoute (Org.Apache.Http.HttpHost? target, Java.Net.InetAddress? local, bool secure);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/HttpHost;Ljava/net/InetAddress;Z)V", "")>]
new Org.Apache.Http.Conn.Routing.HttpRoute : Org.Apache.Http.HttpHost * Java.Net.InetAddress * bool -> Org.Apache.Http.Conn.Routing.HttpRoute

Parameters

target
HttpHost
local
InetAddress
secure
Boolean
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

HttpRoute(HttpHost, InetAddress, HttpHost, Boolean)

Creates a new route through a proxy.

[Android.Runtime.Register(".ctor", "(Lorg/apache/http/HttpHost;Ljava/net/InetAddress;Lorg/apache/http/HttpHost;Z)V", "")]
public HttpRoute (Org.Apache.Http.HttpHost? target, Java.Net.InetAddress? local, Org.Apache.Http.HttpHost? proxy, bool secure);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/HttpHost;Ljava/net/InetAddress;Lorg/apache/http/HttpHost;Z)V", "")>]
new Org.Apache.Http.Conn.Routing.HttpRoute : Org.Apache.Http.HttpHost * Java.Net.InetAddress * Org.Apache.Http.HttpHost * bool -> Org.Apache.Http.Conn.Routing.HttpRoute

Parameters

target
HttpHost
local
InetAddress
proxy
HttpHost
secure
Boolean
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

HttpRoute(HttpHost, InetAddress, HttpHost, Boolean, RouteInfoTunnelType, RouteInfoLayerType)

Creates a new route with at most one proxy.

[Android.Runtime.Register(".ctor", "(Lorg/apache/http/HttpHost;Ljava/net/InetAddress;Lorg/apache/http/HttpHost;ZLorg/apache/http/conn/routing/RouteInfo$TunnelType;Lorg/apache/http/conn/routing/RouteInfo$LayerType;)V", "")]
public HttpRoute (Org.Apache.Http.HttpHost? target, Java.Net.InetAddress? local, Org.Apache.Http.HttpHost? proxy, bool secure, Org.Apache.Http.Conn.Routing.RouteInfoTunnelType? tunnelled, Org.Apache.Http.Conn.Routing.RouteInfoLayerType? layered);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/HttpHost;Ljava/net/InetAddress;Lorg/apache/http/HttpHost;ZLorg/apache/http/conn/routing/RouteInfo$TunnelType;Lorg/apache/http/conn/routing/RouteInfo$LayerType;)V", "")>]
new Org.Apache.Http.Conn.Routing.HttpRoute : Org.Apache.Http.HttpHost * Java.Net.InetAddress * Org.Apache.Http.HttpHost * bool * Org.Apache.Http.Conn.Routing.RouteInfoTunnelType * Org.Apache.Http.Conn.Routing.RouteInfoLayerType -> Org.Apache.Http.Conn.Routing.HttpRoute

Parameters

target
HttpHost
local
InetAddress
proxy
HttpHost
secure
Boolean
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

HttpRoute(HttpHost, InetAddress, HttpHost[], Boolean, RouteInfoTunnelType, RouteInfoLayerType)

Creates a new route with all attributes specified explicitly.

[Android.Runtime.Register(".ctor", "(Lorg/apache/http/HttpHost;Ljava/net/InetAddress;[Lorg/apache/http/HttpHost;ZLorg/apache/http/conn/routing/RouteInfo$TunnelType;Lorg/apache/http/conn/routing/RouteInfo$LayerType;)V", "")]
public HttpRoute (Org.Apache.Http.HttpHost? target, Java.Net.InetAddress? local, Org.Apache.Http.HttpHost[]? proxies, bool secure, Org.Apache.Http.Conn.Routing.RouteInfoTunnelType? tunnelled, Org.Apache.Http.Conn.Routing.RouteInfoLayerType? layered);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/HttpHost;Ljava/net/InetAddress;[Lorg/apache/http/HttpHost;ZLorg/apache/http/conn/routing/RouteInfo$TunnelType;Lorg/apache/http/conn/routing/RouteInfo$LayerType;)V", "")>]
new Org.Apache.Http.Conn.Routing.HttpRoute : Org.Apache.Http.HttpHost * Java.Net.InetAddress * Org.Apache.Http.HttpHost[] * bool * Org.Apache.Http.Conn.Routing.RouteInfoTunnelType * Org.Apache.Http.Conn.Routing.RouteInfoLayerType -> Org.Apache.Http.Conn.Routing.HttpRoute

Parameters

target
HttpHost
local
InetAddress
proxies
HttpHost[]
secure
Boolean
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