Home
last modified time | relevance | path

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

12

/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.cc45 blink::WebURLRequest newRequest; in ServeRedirect() local
46 newRequest.initialize(); in ServeRedirect()
48 newRequest.setURL(redirectURL); in ServeRedirect()
49 client_->willSendRequest(this, newRequest, redirectResponse); in ServeRedirect()
50 return newRequest; in ServeRedirect()
Dweburl_loader_mock_factory.cc95 WebURLRequest newRequest = loader->ServeRedirect(response); in ServeAsynchronousRequests() local
98 last_handled_asynchronous_request_ = newRequest; in ServeAsynchronousRequests()
99 LoadRequest(newRequest, &response, &error, &data); in ServeAsynchronousRequests()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DDocumentLoader.cpp335 bool DocumentLoader::isRedirectAfterPost(const ResourceRequest& newRequest, const ResourceResponse&… in isRedirectAfterPost() argument
408 void DocumentLoader::willSendRequest(ResourceRequest& newRequest, const ResourceResponse& redirectR… in willSendRequest() argument
414 ASSERT(!newRequest.isNull()); in willSendRequest()
415 …tion.type()) && !m_frame->document()->contentSecurityPolicy()->allowFormAction(newRequest.url())) { in willSendRequest()
416 cancelMainResourceLoad(ResourceError::cancelledError(newRequest.url())); in willSendRequest()
425 if (!redirectingOrigin->canDisplay(newRequest.url())) { in willSendRequest()
426 FrameLoader::reportLocalLoadFailed(m_frame, newRequest.url().string()); in willSendRequest()
427 cancelMainResourceLoad(ResourceError::cancelledError(newRequest.url())); in willSendRequest()
430 timing()->addRedirect(redirectResponse.url(), newRequest.url()); in willSendRequest()
436 newRequest.setFirstPartyForCookies(newRequest.url()); in willSendRequest()
[all …]
DDocumentThreadableLoader.cpp413 FetchRequest newRequest(request, m_options.initiator, options); in loadRequest() local
415 setResource(m_document->fetcher()->fetchRawResource(newRequest)); in loadRequest()
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DRawResource.cpp145 bool RawResource::canReuse(const ResourceRequest& newRequest) const in canReuse()
150 if (m_resourceRequest.httpMethod() != newRequest.httpMethod()) in canReuse()
153 if (m_resourceRequest.httpBody() != newRequest.httpBody()) in canReuse()
156 if (m_resourceRequest.allowCookies() != newRequest.allowCookies()) in canReuse()
163 const HTTPHeaderMap& newHeaders = newRequest.httpHeaderFields(); in canReuse()
/external/chromium_org/third_party/WebKit/Source/web/
DAssociatedURLLoader.cpp187 void AssociatedURLLoader::ClientAdapter::willSendRequest(ResourceRequest& newRequest, const Resourc… in willSendRequest() argument
192 WrappedResourceRequest wrappedNewRequest(newRequest); in willSendRequest()
330 WebURLRequest newRequest(request); in loadAsynchronously() local
332 WebString method = newRequest.httpMethod(); in loadAsynchronously()
335 newRequest.setHTTPMethod(XMLHttpRequest::uppercaseKnownHTTPMethod(method)); in loadAsynchronously()
337 newRequest.visitHTTPHeaderFields(&validator); in loadAsynchronously()
353 const ResourceRequest& webcoreRequest = newRequest.toResourceRequest(); in loadAsynchronously()
/external/chromium_org/content/renderer/media/android/
Dmedia_info_loader.cc80 WebURLRequest& newRequest, in willSendRequest() argument
86 newRequest.setURL(blink::WebURL()); in willSendRequest()
92 single_origin_ = url_.GetOrigin() == GURL(newRequest.url()).GetOrigin(); in willSendRequest()
94 url_ = newRequest.url(); in willSendRequest()
Dmedia_info_loader.h75 blink::WebURLRequest& newRequest,
/external/chromium/webkit/glue/media/
Dbuffered_resource_loader.cc239 WebURLRequest& newRequest, in willSendRequest() argument
246 newRequest.setURL(WebKit::WebURL()); in willSendRequest()
252 single_origin_ = url_.GetOrigin() == GURL(newRequest.url()).GetOrigin(); in willSendRequest()
254 if (!IsProtocolSupportedForMedia(newRequest.url())) { in willSendRequest()
256 newRequest.setURL(WebKit::WebURL()); in willSendRequest()
261 url_ = newRequest.url(); in willSendRequest()
Dsimple_data_source.cc151 WebKit::WebURLRequest& newRequest, in willSendRequest() argument
158 single_origin_ = url_.GetOrigin() == GURL(newRequest.url()).GetOrigin(); in willSendRequest()
160 url_ = newRequest.url(); in willSendRequest()
Dsimple_data_source_unittest.cc117 WebKit::WebURLRequest newRequest(redirectUrl); in Redirect() local
120 data_source_->willSendRequest(url_loader_, newRequest, redirectResponse); in Redirect()
Dsimple_data_source.h62 WebKit::WebURLRequest& newRequest,
Dbuffered_resource_loader.h121 WebKit::WebURLRequest& newRequest,
Dbuffered_resource_loader_unittest.cc182 WebKit::WebURLRequest newRequest(redirectUrl); in Redirect() local
185 loader_->willSendRequest(url_loader_, newRequest, redirectResponse); in Redirect()
/external/chromium_org/third_party/WebKit/Source/core/page/
DCreateWindow.cpp182 FrameLoadRequest newRequest(0, request.resourceRequest()); in createWindowForRequest() local
183 newRequest.setFormState(request.formState()); in createWindowForRequest()
184 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/content/renderer/media/
Dbuffered_resource_loader.cc329 WebURLRequest& newRequest, in willSendRequest() argument
336 newRequest.setURL(blink::WebURL()); in willSendRequest()
342 single_origin_ = url_.GetOrigin() == GURL(newRequest.url()).GetOrigin(); in willSendRequest()
344 url_ = newRequest.url(); in willSendRequest()
Dbuffered_resource_loader.h144 blink::WebURLRequest& newRequest, in NON_EXPORTED_BASE()
Dbuffered_resource_loader_unittest.cc190 blink::WebURLRequest newRequest(redirectUrl); in Redirect() local
193 loader_->willSendRequest(url_loader_, newRequest, redirectResponse); in Redirect()
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DResponseHeaders.java378 Map<String, List<String>> newRequest) { in varyMatches() argument
380 if (!equal(cachedRequest.get(field), newRequest.get(field))) { in varyMatches()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DAssociatedURLLoaderTest.cpp136 …void willSendRequest(WebURLLoader* loader, WebURLRequest& newRequest, const WebURLResponse& redire… in willSendRequest() argument
140 EXPECT_EQ(m_expectedNewRequest.url(), newRequest.url()); 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.java939 RoutedRequest newRequest = new RoutedRequest(wrapper, newRoute); in handleResponse() local
945 return newRequest; in handleResponse()

12