Org.Apache.Http.Conn.Routing.IRouteInfo.GetHopTarget Method
Obtains the target of a hop in this route.

Syntax

[Android.Runtime.Register("getHopTarget", "(I)Lorg/apache/http/HttpHost;", "GetGetHopTarget_IHandler:Org.Apache.Http.Conn.Routing.IRouteInfoInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.Apache.Http.HttpHost GetHopTarget (int hop)

Parameters

hop
index of the hop for which to get the target, 0 for first

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif the argument is negative or not less than IRouteInfo.HopCount

Remarks

Obtains the target of a hop in this route. The target of the last hop is the IRouteInfo.TargetHost, the target of previous hops is the respective proxy in the chain. For a route through exactly one proxy, target of hop 0 is the proxy and target of hop 1 is the target host.

[Android Documentation]

Requirements

Namespace: Org.Apache.Http.Conn.Routing
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1