Home
last modified time | relevance | path

Searched refs:newRequest (Results 1 – 7 of 7) 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.java241 Request<Bitmap> newRequest = makeImageRequest(requestUrl, maxWidth, maxHeight, scaleType,
244 mRequestQueue.add(newRequest);
246 new BatchedImageRequest(newRequest, imageContainer));
/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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/impl/client/
DDefaultRequestDirector.java981 RoutedRequest newRequest = new RoutedRequest(wrapper, newRoute); in handleResponse() local
987 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()