/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | HttpEngine.java | 118 final RequestHeaders requestHeaders; field in HttpEngine 147 public HttpEngine(HttpURLConnectionImpl policy, String method, RawHeaders requestHeaders, in HttpEngine() argument 160 this.requestHeaders = new RequestHeaders(uri, new RawHeaders(requestHeaders)); in HttpEngine() 187 if (requestHeaders.isOnlyIfCached() && responseSource.requiresConnection()) { in sendRequest() 216 policy.responseCache.get(uri, method, requestHeaders.getHeaders().toMultimap(false)); in initResponseSource() 233 this.responseSource = cachedResponseHeaders.chooseResponseSource(now, requestHeaders); in initResponseSource() 293 requestHeaders.getHeaders().setRequestLine(getRequestLine()); in connect() 346 return requestHeaders; in getRequestHeaders() 394 if (!responseHeaders.isCacheable(requestHeaders)) { in maybeCache() 494 requestHeaders.getHeaders().setRequestLine(getRequestLine()); in prepareRawRequestHeaders() [all …]
|
D | SpdyTransport.java | 49 RawHeaders requestHeaders = httpEngine.requestHeaders.getHeaders(); in writeRequestHeaders() local 52 requestHeaders.addSpdyRequestHeaders(httpEngine.method, HttpEngine.requestPath(url), version, in writeRequestHeaders() 56 stream = spdyConnection.newStream(requestHeaders.toNameValueBlock(), hasRequestBody, in writeRequestHeaders()
|
D | HttpTransport.java | 70 boolean chunked = httpEngine.requestHeaders.isChunked(); in createRequestBody() 74 httpEngine.requestHeaders.setChunked(); in createRequestBody() 91 httpEngine.requestHeaders.setContentLength(fixedContentLength); in createRequestBody() 97 int contentLength = httpEngine.requestHeaders.getContentLength(); in createRequestBody() 132 int contentLength = httpEngine.requestHeaders.getContentLength(); in writeRequestHeaders() 133 RawHeaders headersToSend = httpEngine.requestHeaders.getHeaders(); in writeRequestHeaders() 162 if (httpEngine.requestHeaders.hasConnectionClose()) { in makeReusable()
|
D | HttpsURLConnectionImpl.java | 427 public HttpsEngine(HttpURLConnectionImpl policy, String method, RawHeaders requestHeaders, in HttpsEngine() argument 430 super(policy, method, requestHeaders, connection, requestBody); in HttpsEngine() 448 String userAgent = requestHeaders.getUserAgent(); in getTunnelConfig() 455 requestHeaders.getProxyAuthorization()); in getTunnelConfig()
|
D | HttpURLConnectionImpl.java | 272 private HttpEngine newHttpEngine(String method, RawHeaders requestHeaders, in newHttpEngine() argument 275 return new HttpEngine(this, method, requestHeaders, connection, requestBody); in newHttpEngine() 278 this, method, requestHeaders, connection, requestBody); in newHttpEngine()
|
D | HttpResponseCache.java | 112 Map<String, List<String>> requestHeaders) { in get() argument 127 if (!entry.matches(uri, requestMethod, requestHeaders)) { in get() 515 Map<String, List<String>> requestHeaders) { in matches() argument 519 requestHeaders); in matches()
|
/external/webkit/Source/WebCore/loader/ |
D | CrossOriginPreflightResultCache.cpp | 126 …flightResultCacheItem::allowsCrossOriginHeaders(const HTTPHeaderMap& requestHeaders, String& error… in allowsCrossOriginHeaders() argument 128 HTTPHeaderMap::const_iterator end = requestHeaders.end(); in allowsCrossOriginHeaders() 129 for (HTTPHeaderMap::const_iterator it = requestHeaders.begin(); it != end; ++it) { in allowsCrossOriginHeaders() 138 …wsRequest(bool includeCredentials, const String& method, const HTTPHeaderMap& requestHeaders) const in allowsRequest() 147 if (!allowsCrossOriginHeaders(requestHeaders, ignoredExplanation)) in allowsRequest() 170 …onst KURL& url, bool includeCredentials, const String& method, const HTTPHeaderMap& requestHeaders) in canSkipPreflight() argument 177 if (cacheIt->second->allowsRequest(includeCredentials, method, requestHeaders)) in canSkipPreflight()
|
D | CrossOriginPreflightResultCache.h | 53 …sRequest(bool includeCredentials, const String& method, const HTTPHeaderMap& requestHeaders) const; 73 …, const KURL&, bool includeCredentials, const String& method, const HTTPHeaderMap& requestHeaders);
|
/external/oauth/core/src/main/java/net/oauth/client/ |
D | URLConnectionResponse.java | 43 public URLConnectionResponse(HttpMessage request, String requestHeaders, in URLConnectionResponse() argument 46 this.requestHeaders = requestHeaders; in URLConnectionResponse() 53 private final String requestHeaders; field in URLConnectionResponse 99 StringBuilder request = new StringBuilder(requestHeaders); in dump()
|
/external/okhttp/src/main/java/com/squareup/okhttp/ |
D | Connection.java | 296 RawHeaders requestHeaders = tunnelRequest.getRequestHeaders(); in makeTunnel() local 298 out.write(requestHeaders.toBytes()); in makeTunnel() 305 requestHeaders = new RawHeaders(requestHeaders); in makeTunnel() 308 HttpAuthenticator.processAuthHeader(HTTP_PROXY_AUTH, responseHeaders, requestHeaders, in makeTunnel()
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/ |
D | SpdyServer.java | 83 List<String> requestHeaders = stream.getRequestHeaders(); in receive() local 85 for (int i = 0; i < requestHeaders.size(); i += 2) { in receive() 86 String s = requestHeaders.get(i); in receive() 88 path = requestHeaders.get(i + 1); in receive()
|
D | HttpOverSpdyTest.java | 225 Map<String, List<String>> requestHeaders = Collections.emptyMap(); in acceptAndTransmitCookies() local 227 cookieManager.get(url.toURI(), requestHeaders)); in acceptAndTransmitCookies() local
|
/external/webkit/Source/WebCore/inspector/front-end/ |
D | NetworkManager.js | 82 resource.requestHeaders = request.headers; 97 if (response.requestHeaders) 98 resource.requestHeaders = response.requestHeaders; 261 resource.requestHeaders = request.headers;
|
D | Resource.js | 407 get requestHeaders() getter in WebInspector.Resource 412 set requestHeaders(x) setter in WebInspector.Resource 452 for (var key in this.requestHeaders) 453 this._sortedRequestHeaders.push({header: key, value: this.requestHeaders[key]}); 461 return this._headerValue(this.requestHeaders, headerName);
|
D | HAREntry.js | 62 headers: this._buildHeaders(this._resource.requestHeaders),
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
D | SpdyStream.java | 83 private final List<String> requestHeaders; field in SpdyStream 99 List<String> requestHeaders, Settings settings) { in SpdyStream() argument 101 if (requestHeaders == null) throw new NullPointerException("requestHeaders == null"); in SpdyStream() 106 this.requestHeaders = requestHeaders; in SpdyStream() 152 return requestHeaders; in getRequestHeaders()
|
D | SpdyConnection.java | 164 public SpdyStream newStream(List<String> requestHeaders, boolean out, boolean in) in newStream() argument 180 stream = new SpdyStream(streamId, this, flags, priority, slot, requestHeaders, settings); in newStream() 187 spdyWriter.synStream(flags, streamId, associatedStreamId, priority, slot, requestHeaders); in newStream()
|
/external/webkit/Source/WebCore/platform/network/cf/ |
D | ResourceRequestCFNet.cpp | 92 …c inline void setHeaderFields(CFMutableURLRequestRef request, const HTTPHeaderMap& requestHeaders) in setHeaderFields() argument 104 HTTPHeaderMap::const_iterator end = requestHeaders.end(); in setHeaderFields() 105 for (HTTPHeaderMap::const_iterator it = requestHeaders.begin(); it != end; ++it) { in setHeaderFields()
|
D | ResourceHandleCFNet.cpp | 286 void addHeadersFromHashMap(CFMutableURLRequestRef request, const HTTPHeaderMap& requestHeaders) in addHeadersFromHashMap() argument 288 if (!requestHeaders.size()) in addHeadersFromHashMap() 291 HTTPHeaderMap::const_iterator end = requestHeaders.end(); in addHeadersFromHashMap() 292 for (HTTPHeaderMap::const_iterator it = requestHeaders.begin(); it != end; ++it) { in addHeadersFromHashMap()
|
/external/webkit/Source/WebCore/platform/network/ |
D | ResourceLoadInfo.h | 42 HTTPHeaderMap requestHeaders; member
|
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
D | WebResourceRequest.h | 59 const net::HttpRequestHeaders& requestHeaders() const in requestHeaders() function
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | CookieHandlerTest.java | 53 public Map get(URI uri, Map requestHeaders) throws IOException { in get() argument
|
/external/webkit/Source/WebKit/chromium/src/ |
D | WebHTTPLoadInfo.cpp | 114 addHeader(&m_private->requestHeaders, name, value); in addRequestHeader()
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/ |
D | URLEncodingTest.java | 133 Map<String, List<String>> requestHeaders) throws IOException { in backdoorUrlToUri()
|
D | URLConnectionTest.java | 124 @Test public void requestHeaders() throws IOException, InterruptedException { in requestHeaders() method in URLConnectionTest 133 Map<String, List<String>> requestHeaders = urlConnection.getRequestProperties(); in requestHeaders() local 134 assertEquals(newSet("e", "f"), new HashSet<String>(requestHeaders.get("D"))); in requestHeaders() 135 assertEquals(newSet("e", "f"), new HashSet<String>(requestHeaders.get("d"))); in requestHeaders() 137 requestHeaders.put("G", Arrays.asList("h")); in requestHeaders() 142 requestHeaders.get("D").add("i"); in requestHeaders() 2027 Map<String, List<String>> requestHeaders) throws IOException { in responseCacheReturnsNullOutputStream()
|