Home
last modified time | relevance | path

Searched refs:newRequest (Results 1 – 11 of 11) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DDispatcherTest.java44 client.newCall(newRequest("http://a/1")).enqueue(callback); in enqueuedJobsRunImmediately()
50 client.newCall(newRequest("http://a/1")).enqueue(callback); in maxRequestsEnforced()
51 client.newCall(newRequest("http://a/2")).enqueue(callback); in maxRequestsEnforced()
52 client.newCall(newRequest("http://b/1")).enqueue(callback); in maxRequestsEnforced()
53 client.newCall(newRequest("http://b/2")).enqueue(callback); in maxRequestsEnforced()
59 client.newCall(newRequest("http://a/1")).enqueue(callback); in maxPerHostEnforced()
60 client.newCall(newRequest("http://a/2")).enqueue(callback); in maxPerHostEnforced()
61 client.newCall(newRequest("http://a/3")).enqueue(callback); in maxPerHostEnforced()
67 client.newCall(newRequest("http://a/1")).enqueue(callback); in increasingMaxRequestsPromotesJobsImmediately()
68 client.newCall(newRequest("http://b/1")).enqueue(callback); in increasingMaxRequestsPromotesJobsImmediately()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/message/
DSIPRequest.java815 SIPRequest newRequest; in createAckRequest() local
819 newRequest = new SIPRequest(); in createAckRequest()
820 newRequest.setRequestLine((RequestLine) this.requestLine.clone()); in createAckRequest()
821 newRequest.setMethod(Request.ACK); in createAckRequest()
879 newRequest.attachHeader(nextHeader, false); in createAckRequest()
885 newRequest.setHeader(MessageFactoryImpl.getDefaultUserAgentHeader()); in createAckRequest()
888 return newRequest; in createAckRequest()
916 SIPRequest newRequest = new SIPRequest(); in createErrorAck() local
917 newRequest.setRequestLine((RequestLine) this.requestLine.clone()); in createErrorAck()
918 newRequest.setMethod(Request.ACK); in createErrorAck()
[all …]
DSIPResponse.java683 SIPRequest newRequest = new SIPRequest(); in createRequest() local
686 newRequest.setMethod(method); in createRequest()
687 newRequest.setRequestURI(requestURI); in createRequest()
689 newRequest.setHeader(via); in createRequest()
690 newRequest.setHeader(cseq); in createRequest()
715 newRequest.attachHeader(nextHeader, false); in createRequest()
724 newRequest.attachHeader( new MaxForwards(70), false); in createRequest()
730 newRequest.setHeader(MessageFactoryImpl.getDefaultUserAgentHeader()); in createRequest()
732 return newRequest; in createRequest()
/external/volley/src/main/java/com/android/volley/toolbox/
DImageLoader.java255 Request<Bitmap> newRequest =
258 mRequestQueue.add(newRequest);
259 mInFlightRequests.put(cacheKey, new BatchedImageRequest(newRequest, imageContainer));
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DOkHeaders.java142 Response cachedResponse, Headers cachedRequest, Request newRequest) { in varyMatches() argument
144 if (!equal(cachedRequest.values(field), newRequest.headers(field))) return false; in varyMatches()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DOkHeaders.java140 Response cachedResponse, Headers cachedRequest, Request newRequest) { in varyMatches() argument
142 if (!equal(cachedRequest.values(field), newRequest.headers(field))) return false; in varyMatches()
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/qps/
DAsyncClient.java75 SimpleRequest req = newRequest(); in run()
100 private SimpleRequest newRequest() { in newRequest() method in AsyncClient
DOpenLoopClient.java91 SimpleRequest req = config.newRequest(); in run()
DClientConfiguration.java73 public Messages.SimpleRequest newRequest() { in newRequest() method in ClientConfiguration
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DDefaultRequestDirector.java999 RoutedRequest newRequest = new RoutedRequest(wrapper, newRoute); in handleResponse() local
1005 return newRequest; in handleResponse()
/external/apache-http/src/org/apache/http/impl/client/
DDefaultRequestDirector.java953 RoutedRequest newRequest = new RoutedRequest(wrapper, newRoute); in handleResponse() local
959 return newRequest; in handleResponse()