Home
last modified time | relevance | path

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

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DDispatcherTest.java43 client.enqueue(newRequest("http://a/1"), receiver); in enqueuedJobsRunImmediately()
49 client.enqueue(newRequest("http://a/1"), receiver); in maxRequestsEnforced()
50 client.enqueue(newRequest("http://a/2"), receiver); in maxRequestsEnforced()
51 client.enqueue(newRequest("http://b/1"), receiver); in maxRequestsEnforced()
52 client.enqueue(newRequest("http://b/2"), receiver); in maxRequestsEnforced()
58 client.enqueue(newRequest("http://a/1"), receiver); in maxPerHostEnforced()
59 client.enqueue(newRequest("http://a/2"), receiver); in maxPerHostEnforced()
60 client.enqueue(newRequest("http://a/3"), receiver); in maxPerHostEnforced()
66 client.enqueue(newRequest("http://a/1"), receiver); in increasingMaxRequestsPromotesJobsImmediately()
67 client.enqueue(newRequest("http://b/1"), receiver); 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/chromium_org/content/test/
Dweburl_loader_mock.cc59 blink::WebURLRequest newRequest; in ServeRedirect() local
60 newRequest.initialize(); in ServeRedirect()
61 newRequest.setRequestContext(blink::WebURLRequest::RequestContextInternal); in ServeRedirect()
63 newRequest.setURL(redirectURL); in ServeRedirect()
64 client_->willSendRequest(this, newRequest, redirectResponse); in ServeRedirect()
65 return newRequest; in ServeRedirect()
Dweburl_loader_mock_factory.cc94 WebURLRequest newRequest = loader->ServeRedirect(response); in ServeAsynchronousRequests() local
97 last_handled_asynchronous_request_ = newRequest; in ServeAsynchronousRequests()
98 LoadRequest(newRequest, &response, &error, &data); in ServeAsynchronousRequests()
/external/chromium_org/content/renderer/media/android/
Dmedia_info_loader.cc93 WebURLRequest& newRequest, in willSendRequest() argument
99 newRequest.setURL(blink::WebURL()); in willSendRequest()
105 single_origin_ = url_.GetOrigin() == GURL(newRequest.url()).GetOrigin(); in willSendRequest()
107 url_ = newRequest.url(); in willSendRequest()
108 first_party_url_ = newRequest.firstPartyForCookies(); in willSendRequest()
109 allow_stored_credentials_ = newRequest.allowStoredCredentials(); in willSendRequest()
Dmedia_info_loader.h81 blink::WebURLRequest& newRequest,
/external/chromium_org/third_party/WebKit/Source/web/
DAssociatedURLLoader.cpp178 void AssociatedURLLoader::ClientAdapter::willSendRequest(ResourceRequest& newRequest, const Resourc… in willSendRequest() argument
183 WrappedResourceRequest wrappedNewRequest(newRequest); in willSendRequest()
324 WebURLRequest newRequest(request); in loadAsynchronously() local
326 WebString method = newRequest.httpMethod(); in loadAsynchronously()
329 newRequest.setHTTPMethod(XMLHttpRequest::uppercaseKnownHTTPMethod(method)); in loadAsynchronously()
331 newRequest.visitHTTPHeaderFields(&validator); in loadAsynchronously()
347 const ResourceRequest& webcoreRequest = newRequest.toResourceRequest(); in loadAsynchronously()
352 newRequest.setRequestContext(WebURLRequest::RequestContextInternal); in loadAsynchronously()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DDocumentLoader.cpp293 bool DocumentLoader::isRedirectAfterPost(const ResourceRequest& newRequest, const ResourceResponse&… in isRedirectAfterPost() argument
350 void DocumentLoader::willSendRequest(ResourceRequest& newRequest, const ResourceResponse& redirectR… in willSendRequest() argument
356 ASSERT(!newRequest.isNull()); in willSendRequest()
357 …tion.type()) && !m_frame->document()->contentSecurityPolicy()->allowFormAction(newRequest.url())) { in willSendRequest()
358 cancelMainResourceLoad(ResourceError::cancelledError(newRequest.url())); in willSendRequest()
367 if (!redirectingOrigin->canDisplay(newRequest.url())) { in willSendRequest()
368 FrameLoader::reportLocalLoadFailed(m_frame, newRequest.url().string()); in willSendRequest()
369 cancelMainResourceLoad(ResourceError::cancelledError(newRequest.url())); in willSendRequest()
372 timing()->addRedirect(redirectResponse.url(), newRequest.url()); in willSendRequest()
378 …if (newRequest.cachePolicy() == UseProtocolCachePolicy && isRedirectAfterPost(newRequest, redirect… in willSendRequest()
[all …]
DDocumentThreadableLoader.cpp495 FetchRequest newRequest(request, m_options.initiator, resourceLoaderOptions); in loadRequest() local
497 newRequest.setOriginRestriction(FetchRequest::NoOriginRestriction); in loadRequest()
500 setResource(m_document.fetcher()->fetchMedia(newRequest)); in loadRequest()
502 setResource(m_document.fetcher()->fetchRawResource(newRequest)); in loadRequest()
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DRawResource.cpp153 bool RawResource::canReuse(const ResourceRequest& newRequest) const in canReuse()
160 if (m_resourceRequest.httpMethod() != newRequest.httpMethod()) in canReuse()
163 if (m_resourceRequest.httpBody() != newRequest.httpBody()) in canReuse()
166 if (m_resourceRequest.allowStoredCredentials() != newRequest.allowStoredCredentials()) in canReuse()
173 const HTTPHeaderMap& newHeaders = newRequest.httpHeaderFields(); in canReuse()
/external/chromium_org/third_party/WebKit/Source/core/page/
DCreateWindow.cpp188 FrameLoadRequest newRequest(0, request.resourceRequest()); in createWindowForRequest() local
189 newRequest.setFormState(request.formState()); in createWindowForRequest()
190 newFrame->loader().load(newRequest); in createWindowForRequest()
/external/chromium_org/third_party/WebKit/public/platform/
DWebURLLoaderClient.h46 WebURLLoader*, WebURLRequest& newRequest, const WebURLResponse& redirectResponse) { } in willSendRequest() argument
/external/chromium_org/media/blink/
Dbuffered_resource_loader.cc330 WebURLRequest& newRequest, in willSendRequest() argument
337 newRequest.setURL(blink::WebURL()); in willSendRequest()
343 single_origin_ = url_.GetOrigin() == GURL(newRequest.url()).GetOrigin(); in willSendRequest()
345 url_ = newRequest.url(); in willSendRequest()
Dbuffered_resource_loader.h138 blink::WebURLRequest& newRequest, in NON_EXPORTED_BASE()
Dbuffered_resource_loader_unittest.cc192 blink::WebURLRequest newRequest(redirectUrl); in Redirect() local
195 loader_->willSendRequest(url_loader_, newRequest, redirectResponse); in Redirect()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DResponse.java183 public boolean varyMatches(Headers varyHeaders, Request newRequest) { in varyMatches() argument
185 if (!equal(varyHeaders.values(field), newRequest.headers(field))) return false; in varyMatches()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DAssociatedURLLoaderTest.cpp125 …void willSendRequest(WebURLLoader* loader, WebURLRequest& newRequest, const WebURLResponse& redire… in willSendRequest() argument
129 EXPECT_EQ(m_expectedNewRequest.url(), newRequest.url()); in willSendRequest()
131 … EXPECT_EQ(m_expectedNewRequest.httpHeaderField("accept"), newRequest.httpHeaderField("accept")); in willSendRequest()
/external/robolectric/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.java944 RoutedRequest newRequest = new RoutedRequest(wrapper, newRoute); in handleResponse() local
950 return newRequest; in handleResponse()
/external/chromium_org/content/child/
Dweb_url_loader_impl_unittest.cc143 blink::WebURLRequest& newRequest, in willSendRequest() argument
/external/chromium_org/content/renderer/npapi/
Dwebplugin_impl.cc483 blink::WebURLLoader* loader, blink::WebURLRequest& newRequest, in willSendRequest() argument
485 parent_->willSendRequest(loader, newRequest, redirectResponse); in willSendRequest()