Home | History | Annotate | Download | only in client

Lines Matching defs:route

116     /** The route planner. */
192 ("Route planner may not be null.");
258 final HttpRoute route) throws ProtocolException {
262 if (route.getProxyHost() != null && !route.isTunnelled()) {
265 HttpHost target = route.getTargetHost();
306 // followup request and route. The request and route passed
311 HttpRoute route = roureq.getRoute();
319 route, userToken);
348 managedConn.open(route, context, params);
352 establishRoute(route, context);
365 rewriteRequestURI(wrapper, route);
372 target = route.getTargetHost();
375 HttpHost proxy = route.getProxyHost();
430 // If we have a direct route to the target host
432 if (route.getHopCount() == 1) {
434 managedConn.open(route, context, params);
535 * Determines the route for a request.
537 * to determine the route for either the original or a followup request.
541 * if they can still determine a route, for example
547 * @return the route the request should take
570 * Establishes the target route.
572 * @param route the route to establish
578 protected void establishRoute(HttpRoute route, HttpContext context)
594 step = rowdy.nextStep(route, fact);
600 managedConn.open(route, context, this.params);
604 boolean secure = createTunnelToTarget(route, context);
612 // route: Source -> P1 -> P2 -> Target (3 hops)
615 boolean secure = createTunnelToProxy(route, hop, context);
617 managedConn.tunnelProxy(route.getHopTarget(hop),
628 ("Unable to establish route." +
629 "\nplanned = " + route +
654 * @param route the route to establish
657 * @return <code>true</code> if the tunnelled route is secure,
665 protected boolean createTunnelToTarget(HttpRoute route,
669 HttpHost proxy = route.getProxyHost();
670 HttpHost target = route.getTargetHost();
679 this.managedConn.open(route, context, this.params);
682 HttpRequest connect = createConnectRequest(route, context);
790 * @param route the route to establish
791 * @param hop the hop in the route to establish now.
792 * <code>route.getHopTarget(hop)</code>
802 protected boolean createTunnelToProxy(HttpRoute route, int hop,
825 * @param route the route to establish
830 protected HttpRequest createConnectRequest(HttpRoute route,
836 HttpHost target = route.getTargetHost();
863 * @param roureq the request and route.
867 * @return the followup request and route if there is a followup, or
878 HttpRoute route = roureq.getRoute();
879 HttpHost proxy = route.getProxyHost();
927 target = route.getTargetHost();
946 // Re-try the same request via the same route
974 // Re-try the same request via the same route