HomeSort by relevance Sort by last modified time
    Searched refs:Route (Results 1 - 22 of 22) sorted by null

  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
RouteDatabase.java 29 private final Set<Route> failedRoutes = new LinkedHashSet<Route>();
32 public synchronized void failed(Route failedRoute) {
37 public synchronized void connected(Route route) {
38 failedRoutes.remove(route);
41 /** Returns true if {@code route} has failed recently and should be avoided. */
42 public synchronized boolean shouldPostpone(Route route) {
43 return failedRoutes.contains(route);
    [all...]
Route.java 22 * The concrete route used by a connection to reach an abstract origin server.
34 * Each route is a specific selection of these options.
36 public class Route {
42 public Route(Address address, Proxy proxy, InetSocketAddress inetSocketAddress,
53 /** Returns the {@link Address} of this route. */
59 * Returns the {@link Proxy} of this route.
68 /** Returns the {@link InetSocketAddress} of this route. */
73 /** Returns true if this route uses modern TLS. */
79 if (obj instanceof Route) {
80 Route other = (Route) obj
    [all...]
Connection.java 68 private final Route route; field in class:Connection
86 public Connection(ConnectionPool pool, Route route) {
88 this.route = route;
145 if (route.proxy.type() == Proxy.Type.DIRECT || route.proxy.type() == Proxy.Type.HTTP) {
146 socket = route.address.socketFactory.createSocket();
148 socket = new Socket(route.proxy)
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/header/
RouteList.java 35 * A list of Route Headers.
44 public class RouteList extends SIPHeaderList<Route> {
52 super(Route.class, RouteHeader.NAME);
69 * Order is important when comparing route lists.
77 ListIterator<Route> it = this.listIterator();
78 ListIterator<Route> it1 = that.listIterator();
80 Route route = (Route) it.next(); local
81 Route route1 = (Route) it1.next()
    [all...]
Route.java 36 * Route SIPHeader Object
44 public class Route
55 public Route() {
65 public Route(AddressImpl address) {
NameMap.java 131 putNameMap(ROUTE, Route.class.getName()); //27
HeaderFactoryImpl.java 897 Route route = new Route(); local
898 route.setAddress(address);
900 return route;
    [all...]
  /external/chromium_org/native_client_sdk/src/gonacl_appengine/
gonacl.py 7 webapp2.Route('/', webapp2.RedirectHandler, defaults={
  /external/nist-sip/java/gov/nist/javax/sip/parser/
RouteParser.java 31 * Parser for a list of route headers.
45 * @param route message to parse to set
47 public RouteParser(String route) {
48 super(route);
55 /** parse the String message and generate the Route List Object
56 * @return SIPHeader the Route List object
65 this.lexer.match(TokenTypes.ROUTE);
70 Route route = new Route(); local
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
RouteSelector.java 22 import com.squareup.okhttp.Route;
61 /* The most recently attempted route. */
79 private final List<Route> postponedRoutes;
89 this.postponedRoutes = new LinkedList<Route>();
95 * Returns true if there's another route to attempt. Every address has at
96 * least one route.
103 * Returns the next route address to attempt.
114 // Compute the next route to attempt.
131 Route route = new Route(address, lastProxy, lastInetSocketAddress, modernTls) local
    [all...]
HttpEngine.java 29 import com.squareup.okhttp.Route;
80 private Route route; field in class:HttpEngine
155 * @param routeSelector the route selector used for a failed attempt
172 this.route = connection.getRoute();
174 this.route = null;
283 route = connection.getRoute();
365 // For failure recovery, use the same route selector with a new connection.
380 * Returns the route used to retrieve the response. Null if we haven't
383 public Route getRoute()
    [all...]
HttpURLConnectionImpl.java 27 import com.squareup.okhttp.Route;
86 * The most recently attempted route. This will be null if we haven't sent a
89 private Route route; field in class:HttpURLConnectionImpl
383 route = httpEngine.getRoute();
489 Proxy proxy = route != null
490 ? route.getProxy()
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
Mixin.java 45 public Object newInstance(int style, String[] classes, int[] route);
102 private int[] route; field in class:Mixin.Generator
139 Route r = route(delegates);
141 route = r.route;
165 return (Mixin)super.create(KEY_FACTORY.newInstance(style, ReflectUtils.getNames( classes ), route));
171 new MixinEmitter(v, getClassName(), classes, route);
192 return (Class[])route(delegates).classes.clone();
196 // return (int[])route(delegates).route.clone()
199 private static Route route(Object[] delegates) { method in class:Mixin
201 Route route = (Route)ROUTE_CACHE.get(key); local
211 private int[] route; field in class:Mixin.Route
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/stack/
DefaultRouter.java 51 * URI Jiang He - use address in route header. Significant changes to conform to
53 * strict route post processing code.
69 * <li> If the request contains one or more Route headers, use the URI of the
70 * topmost Route header as next hop, possibly modifying the request in the
71 * process if the topmost Route header contains no lr parameter(*)
80 * (*)Note that in case the topmost Route header contains no 'lr' parameter
82 * perform 'Route Information Postprocessing' as described in RFC3261 section
83 * 16.6 step 6 (also known as "Route header popping"). That is, the following
86 * <li>The implementation places the Request-URI into the Route header field as
88 * <li>The implementation then places the first Route header field value int
196 Route route = (Route) routes.getFirst(); local
272 Route route = new Route(addr); local
    [all...]
SIPClientTransaction.java 36 import gov.nist.javax.sip.header.Route;
529 * add the route before you process the response. dialog.setLastResponse(this,
1166 Route route = new Route(); local
1181 Route route = null; local
    [all...]
SIPDialog.java 52 import gov.nist.javax.sip.header.Route;
112 * reported a bug in updating the route set (on RE-INVITE). Jens Tinfors submitted a bug fix and
733 * Add a route list extracted from a record route list. If this is a server dialog then we
734 * assume that the record are added to the route list IN order. If this is a client dialog
735 * then we assume that the record route headers give us the route list to add in reverse
738 * @param recordRouteList -- the record route list from the incoming message.
745 // route from the response and reverse its order to
746 // careate a route list
756 Route route = new Route(); local
778 Route route = new Route(); local
900 Route route = (Route) li.next(); local
2682 Route route = (Route) routeList.getFirst(); local
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
ConnectionPoolTest.java 88 Route httpRoute = new Route(httpAddress, Proxy.NO_PROXY, httpSocketAddress, true);
89 Route spdyRoute = new Route(spdyAddress, Proxy.NO_PROXY, spdySocketAddress, true);
135 pool, new Route(httpAddress, Proxy.NO_PROXY, httpSocketAddress, true));
  /external/nist-sip/java/gov/nist/javax/sip/message/
ListMap.java 79 headerListTable.put(Route.class, RouteList.class);
SIPMessage.java 55 import gov.nist.javax.sip.header.Route;
191 || sipHeader instanceof ProxyRequireList || sipHeader instanceof Route
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/
DialogFilter.java 37 import gov.nist.javax.sip.header.Route;
299 * assigned to the dialog. Forgive the sins of B2BUA's that like to record route ACK's
360 * RFC 3261 Section 16.4 If the first value in the Route header field indicates this
366 // Route header. If the request is being processed by an
367 // endpoint, then the stack strips off the route header.
368 if (sipRequest.getHeader(Route.NAME) != null && transaction.getDialog() != null) {
370 Route route = (Route) routes.getFirst(); local
371 SipUri uri = (SipUri) route.getAddress().getURI()
    [all...]
  /external/iproute2/doc/
ip-cref.tex 115 \item \verb|route| --- routing table entry
    [all...]
  /external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar 

Completed in 494 milliseconds