}
final HttpRequest connect = createConnectRequest(route, state);
state.setCurrentRequest(HttpRequestWrapper.wrap(connect));
break loop;
case HttpRouteDirector.TUNNEL_PROXY:
throw new HttpException("Proxy chains are not supported");
case HttpRouteDirector.LAYER_PROTOCOL:
this.connmgr.upgrade(managedConn, route, localContext);
routeTracker.layerProtocol(route.isSecure());
break;
case HttpRouteDirector.UNREACHABLE:
throw new HttpException("Unable to establish route: " +
"planned = " + route + "; current = " + fact);
case HttpRouteDirector.COMPLETE:
this.connmgr.routeComplete(managedConn, route, localContext);
state.setRouteEstablished(true);
state.setRouteTracker(null);