Searched refs:route (Results 1 - 25 of 102) sorted by relevance

12345

/external/apache-http/src/org/apache/http/impl/client/
H A DRoutedRequest.java38 * A request with the route along which it should be sent.
51 protected final HttpRoute route; field in class:RoutedRequest
57 * @param route the route
59 public RoutedRequest(final RequestWrapper req, final HttpRoute route) { argument
62 this.route = route;
70 return route;
/external/libnl-headers/netlink/cli/
H A Dutils.h33 #include <netlink/route/rtnl.h>
34 #include <netlink/route/link.h>
35 #include <netlink/route/addr.h>
36 #include <netlink/route/neighbour.h>
37 #include <netlink/route/neightbl.h>
38 #include <netlink/route/route.h>
39 #include <netlink/route/rule.h>
40 #include <netlink/route/qdisc.h>
41 #include <netlink/route/clas
[all...]
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DRouteParser.java31 * Parser for a list of route headers.
45 * @param route message to parse to set
47 public RouteParser(String route) { argument
48 super(route);
70 Route route = new Route();
71 super.parse(route);
72 routeList.add(route);
/external/apache-http/src/org/apache/http/conn/params/
H A DConnRouteParams.java43 * An adaptor for accessing route related parameters in {@link HttpParams}.
64 * A special value indicating "no route".
65 * This is a route with {@link #NO_HOST} as the target.
128 * @return the forced route set in the argument parameters, or
135 HttpRoute route = (HttpRoute)
137 if ((route != null) && NO_ROUTE.equals(route)) {
139 route = null;
141 return route;
150 * @param route th
155 setForcedRoute(HttpParams params, HttpRoute route) argument
[all...]
H A DConnPerRoute.java37 * allowed for for a given route. This class can be used by pooling
39 * a fine-grained control of connections on a per route basis.
49 int getMaxForRoute(HttpRoute route); argument
H A DConnPerRouteBean.java42 * a fine-grained control of connections on a per route basis.
81 public void setMaxForRoute(final HttpRoute route, int max) { argument
82 if (route == null) {
84 ("HTTP route may not be null.");
90 this.maxPerHostMap.put(route, Integer.valueOf(max));
93 public int getMaxForRoute(final HttpRoute route) { argument
94 if (route == null) {
96 ("HTTP route may not be null.");
98 Integer max = this.maxPerHostMap.get(route);
H A DConnRouteParamBean.java63 public void setForcedRoute (final HttpRoute route) { argument
64 params.setParameter(ConnRoutePNames.FORCED_ROUTE, route);
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
H A DBasicPoolEntryRef.java43 * This reference explicitly keeps the planned route, so the connection
48 /** The planned route of the entry. */
49 private final HttpRoute route; field in class:BasicPoolEntryRef
65 route = entry.getPlannedRoute();
70 * Obtain the planned route for the referenced entry.
71 * The planned route is still available, even if the entry is gone.
73 * @return the planned route
76 return this.route;
H A DBasicPoolEntry.java59 * @param route the planned route for the connection
64 HttpRoute route,
66 super(op, route);
67 if (route == null) {
68 throw new IllegalArgumentException("HTTP route may not be null");
78 return super.route;
63 BasicPoolEntry(ClientConnectionOperator op, HttpRoute route, ReferenceQueue<Object> queue) argument
H A DRouteSpecificPool.java46 * A connection sub-pool for a specific route, used by {@link ConnPoolByRoute}.
54 /** The route this pool is for. */
55 protected final HttpRoute route; field in class:RouteSpecificPool
75 * Creates a new route-specific pool.
77 * @param route the route for which to pool
80 public RouteSpecificPool(HttpRoute route, int maxEntries) { argument
81 this.route = route;
90 * Obtains the route fo
[all...]
H A DConnPoolByRoute.java53 * A connection pool that maintains connections by route.
58 * <li>connections are re-used only for the exact same route</li>
59 * <li>connection limits are enforced per route rather than per host</li>
83 * A map of route-specific pools.
94 * Creates a new connection pool, managed by route.
145 * Creates a new route-specific pool.
148 * @param route the route
152 protected RouteSpecificPool newRouteSpecificPool(HttpRoute route) { argument
153 return new RouteSpecificPool(route, connPerRout
181 getRoutePool(HttpRoute route, boolean create) argument
203 getConnectionsInPool(HttpRoute route) argument
217 requestPoolEntry( final HttpRoute route, final Object state) argument
262 getEntryBlocking( HttpRoute route, Object state, long timeout, TimeUnit tunit, WaitingThreadAborter aborter) argument
574 handleLostEntry(HttpRoute route) argument
[all...]
H A DAbstractConnPool.java147 * @param route the route for which to get the connection
152 * @return pool entry holding a connection for the route
161 HttpRoute route,
166 return requestPoolEntry(route, state).getPoolEntry(timeout, tunit);
173 public abstract PoolEntryRequest requestPoolEntry(HttpRoute route, Object state); argument
206 final HttpRoute route =
209 log.debug("Connection garbage collected. " + route);
211 handleLostEntry(route);
222 * Handles cleaning up for a lost pool entry with the given route
160 getEntry( HttpRoute route, Object state, long timeout, TimeUnit tunit) argument
228 handleLostEntry(HttpRoute route) argument
[all...]
H A DThreadSafeClientConnManager.java152 final HttpRoute route,
156 route, state);
167 if (route == null) {
173 + route + ", timeout = " + timeout);
235 // Shutdown of the adapter also clears the tracked route.
261 * Gets the total number of pooled connections for the given route.
263 * are still in use by this connection manager for the route.
266 * @param route the route in question
268 * @return the total number of pooled connections for that route
151 requestConnection( final HttpRoute route, final Object state) argument
270 getConnectionsInPool(HttpRoute route) argument
[all...]
/external/ipsec-tools/src/racoon/samples/roadwarrior/client/
H A Dphase1-down.sh36 route delete default
37 route delete ${REMOTE_ADDR}
38 route add default ${DEFAULT_GW} -ifa ${LOCAL_ADDR}
42 route delete default
43 route delete ${REMOTE_ADDR}
45 route add default gw ${DEFAULT_GW}
H A Dphase1-up.sh37 route delete default
38 route add default ${DEFAULT_GW} -ifa ${INTERNAL_ADDR4}
39 route add ${REMOTE_ADDR} ${DEFAULT_GW}
44 route delete default
45 route add ${REMOTE_ADDR} gw ${DEFAULT_GW} dev ${if}
46 route add default gw ${DEFAULT_GW} dev ${if}:1
/external/apache-http/src/org/apache/http/impl/conn/
H A DDefaultHttpRoutePlanner.java64 * Creates a new default route planner.
88 // If we have a forced route, we can do without a target.
89 HttpRoute route =
91 if (route != null)
92 return route;
94 // If we get here, there is no forced route.
95 // So we need a target to compute a route.
113 route = new HttpRoute(target, local, secure);
115 route = new HttpRoute(target, local, proxy, secure);
117 return route;
[all...]
H A DAbstractPoolEntry.java52 * {@link HttpRoute route} established.
53 * The adapter delegates methods for establishing the route to
58 * underlying connection and the established route.
77 /** The route for which this entry gets allocated. */
81 protected volatile HttpRoute route; field in class:AbstractPoolEntry
86 /** The tracked route, or <code>null</code> before tracking starts. */
94 * @param route the planned route for the connection,
98 HttpRoute route) {
105 this.route
97 AbstractPoolEntry(ClientConnectionOperator connOperator, HttpRoute route) argument
136 open(HttpRoute route, HttpContext context, HttpParams params) argument
[all...]
H A DSingleClientConnManager.java179 final HttpRoute route,
191 route, state);
202 * @param route where the connection should point to
205 * along the given route
207 public ManagedClientConnection getConnection(HttpRoute route, Object state) { argument
209 if (route == null) {
215 log.debug("Get connection for route " + route);
231 !tracker.toRoute().equals(route));
266 managedConn = new ConnAdapter(uniquePoolEntry, route);
178 requestConnection( final HttpRoute route, final Object state) argument
458 ConnAdapter(PoolEntry entry, HttpRoute route) argument
[all...]
H A DProxySelectorRoutePlanner.java77 * Creates a new proxy selector route planner.
128 // If we have a forced route, we can do without a target.
129 HttpRoute route =
131 if (route != null)
132 return route;
134 // If we get here, there is no forced route.
135 // So we need a target to compute a route.
164 route = new HttpRoute(target, local, secure);
166 route = new HttpRoute(target, local, proxy, secure);
168 return route;
[all...]
/external/iproute2/ip/
H A Droutel17 ip route list table "$@" |
/external/libnl-headers/netlink/route/
H A Dclass.h2 * netlink/route/class.h Classes
16 #include <netlink/route/tc.h>
17 #include <netlink/route/qdisc.h>
H A Drule.h2 * netlink/route/rule.h Rules
18 #include <netlink/route/route.h>
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DRouteList.java69 * Order is important when comparing route lists.
80 Route route = (Route) it.next();
82 if (!route.equals(route1))
/external/apache-http/src/org/apache/http/conn/
H A DClientConnectionManager.java70 ClientConnectionRequest requestConnection(HttpRoute route, Object state) argument
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/impl/client/
H A DDefaultRequestDirector.java120 /** The route planner. */
298 final HttpRoute route) throws ProtocolException {
302 if (route.getProxyHost() != null && !route.isTunnelled()) {
305 HttpHost target = route.getTargetHost();
349 // followup request and route. The request and route passed
354 HttpRoute route = roureq.getRoute();
363 route, userToken);
394 managedConn.open(route, contex
296 rewriteRequestURI( final RequestWrapper request, final HttpRoute route) argument
647 establishRoute(HttpRoute route, HttpContext context) argument
725 createTunnelToTarget(HttpRoute route, HttpContext context) argument
861 createTunnelToProxy(HttpRoute route, int hop, HttpContext context) argument
889 createConnectRequest(HttpRoute route, HttpContext context) argument
[all...]

Completed in 309 milliseconds

12345