public final HttpHost getHopTarget(int hop) { if (hop < 0) throw new IllegalArgumentException ("Hop index must not be negative: " + hop); final int hopcount = getHopCount(); if (hop >= hopcount) throw new IllegalArgumentException ("Hop index " + hop + " exceeds route length " + hopcount); HttpHost result = null; if (hop < hopcount-1) result = this.proxyChain[hop]; else result = this.targetHost; return result; }
StringBuilder cab = new StringBuilder(50 + getHopCount()*30);
final int hop = fact.getHopCount()-1; // the hop to establish boolean secure = createTunnelToProxy(route, hop, context); this.log.debug("Tunnel to proxy created.");
final int hop = fact.getHopCount()-1; // the hop to establish boolean secure = createTunnelToProxy(route, hop, context); this.log.debug("Tunnel to proxy created.");
if (route.getHopCount() == 1) { this.log.debug("Reopening the direct connection."); managedConn.open(route, context, params);
public final HttpHost getHopTarget(int hop) { if (hop < 0) throw new IllegalArgumentException ("Hop index must not be negative: " + hop); final int hopcount = getHopCount(); if (hop >= hopcount) throw new IllegalArgumentException ("Hop index " + hop + " exceeds route length " + hopcount); HttpHost result = null; if (hop < hopcount-1) result = this.proxyChain[hop]; else result = this.targetHost; return result; }
public final HttpHost getHopTarget(int hop) { if (hop < 0) throw new IllegalArgumentException ("Hop index must not be negative: " + hop); final int hopcount = getHopCount(); if (hop >= hopcount) throw new IllegalArgumentException ("Hop index " + hop + " exceeds route length " + hopcount); HttpHost result = null; if (hop < hopcount-1) result = this.proxyChain[hop]; else result = this.targetHost; return result; }
public final HttpHost getHopTarget(int hop) { if (hop < 0) throw new IllegalArgumentException ("Hop index must not be negative: " + hop); final int hopcount = getHopCount(); if (hop >= hopcount) throw new IllegalArgumentException ("Hop index " + hop + " exceeds route length " + hopcount); HttpHost result = null; if (hop < hopcount-1) result = this.proxyChain[hop]; else result = this.targetHost; return result; }
public final HttpHost getHopTarget(int hop) { if (hop < 0) throw new IllegalArgumentException ("Hop index must not be negative: " + hop); final int hopcount = getHopCount(); if (hop >= hopcount) throw new IllegalArgumentException ("Hop index " + hop + " exceeds route length " + hopcount); HttpHost result = null; if (hop < hopcount-1) result = this.proxyChain[hop]; else result = this.targetHost; return result; }
@Override public final HttpHost getHopTarget(final int hop) { Args.notNegative(hop, "Hop index"); final int hopcount = getHopCount(); Args.check(hop < hopcount, "Hop index exceeds tracked route length"); if (hop < hopcount - 1) { return this.proxyChain.get(hop); } else { return this.targetHost; } }
@Override public final HttpHost getHopTarget(final int hop) { Args.notNegative(hop, "Hop index"); final int hopcount = getHopCount(); Args.check(hop < hopcount, "Hop index exceeds tracked route length"); if (hop < hopcount - 1) { return this.proxyChain.get(hop); } else { return this.targetHost; } }
@Override public final HttpHost getHopTarget(final int hop) { Args.notNegative(hop, "Hop index"); final int hopcount = getHopCount(); Args.check(hop < hopcount, "Hop index exceeds tracked route length"); if (hop < hopcount - 1) { return this.proxyChain.get(hop); } else { return this.targetHost; } }
StringBuilder cab = new StringBuilder(50 + getHopCount()*30);
public final HttpHost getHopTarget(final int hop) { Args.notNegative(hop, "Hop index"); final int hopcount = getHopCount(); Args.check(hop < hopcount, "Hop index exceeds tracked route length"); if (hop < hopcount - 1) { return this.proxyChain.get(hop); } else { return this.targetHost; } }
@Override public final HttpHost getHopTarget(final int hop) { Args.notNegative(hop, "Hop index"); final int hopcount = getHopCount(); Args.check(hop < hopcount, "Hop index exceeds tracked route length"); if (hop < hopcount - 1) { return this.proxyChain.get(hop); } else { return this.targetHost; } }
final StringBuilder cab = new StringBuilder(50 + getHopCount()*30); if (this.localAddress != null) { cab.append(this.localAddress);
@Override public final HttpHost getHopTarget(final int hop) { Args.notNegative(hop, "Hop index"); final int hopcount = getHopCount(); Args.check(hop < hopcount, "Hop index exceeds tracked route length"); if (hop < hopcount - 1) { return this.proxyChain.get(hop); } else { return this.targetHost; } }
StringBuilder cab = new StringBuilder(50 + getHopCount()*30);
final StringBuilder cab = new StringBuilder(50 + getHopCount()*30); if (this.localAddress != null) { cab.append(this.localAddress);
StringBuilder cab = new StringBuilder(50 + getHopCount()*30);