OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:requestHeaders
(Results
1 - 25
of
69
) sorted by null
1
2
3
/external/chromium_org/third_party/WebKit/Source/platform/network/
ResourceLoadInfo.h
43
HTTPHeaderMap
requestHeaders
;
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
HttpsEngine.java
38
public HttpsEngine(OkHttpClient client, Policy policy, String method, RawHeaders
requestHeaders
,
40
super(client, policy, method,
requestHeaders
, connection, requestBody);
63
String userAgent =
requestHeaders
.getUserAgent();
70
requestHeaders
.getProxyAuthorization());
HttpEngine.java
124
final
RequestHeaders
requestHeaders
;
146
* @param
requestHeaders
the client's supplied request headers. This class
153
public HttpEngine(OkHttpClient client, Policy policy, String method, RawHeaders
requestHeaders
,
167
this.
requestHeaders
= new
RequestHeaders
(uri, new RawHeaders(
requestHeaders
));
195
if (
requestHeaders
.isOnlyIfCached() && responseSource.requiresConnection()) {
225
uri, method,
requestHeaders
.getHeaders().toMultimap(false));
240
this.responseSource = cachedResponseHeaders.chooseResponseSource(now,
requestHeaders
);
[
all
...]
SpdyTransport.java
49
RawHeaders
requestHeaders
= httpEngine.
requestHeaders
.getHeaders();
52
requestHeaders
.addSpdyRequestHeaders(httpEngine.method, HttpEngine.requestPath(url), version,
56
stream = spdyConnection.newStream(
requestHeaders
.toNameValueBlock(), hasRequestBody,
OkResponseCacheAdapter.java
37
Map<String, List<String>>
requestHeaders
) throws IOException {
38
return responseCache.get(uri, requestMethod,
requestHeaders
);
HttpTransport.java
62
boolean chunked = httpEngine.
requestHeaders
.isChunked();
66
httpEngine.
requestHeaders
.setChunked();
83
httpEngine.
requestHeaders
.setContentLength(fixedContentLength);
88
long contentLength = httpEngine.
requestHeaders
.getContentLength();
129
RawHeaders headersToSend = httpEngine.
requestHeaders
.getHeaders();
156
if (httpEngine.
requestHeaders
.hasConnectionClose()) {
/external/chromium_org/third_party/WebKit/Source/core/loader/
CrossOriginPreflightResultCache.h
54
bool allowsRequest(StoredCredentials, const String& method, const HTTPHeaderMap&
requestHeaders
) const;
74
bool canSkipPreflight(const String& origin, const KURL&, StoredCredentials, const String& method, const HTTPHeaderMap&
requestHeaders
);
CrossOriginPreflightResultCache.cpp
124
bool CrossOriginPreflightResultCacheItem::allowsCrossOriginHeaders(const HTTPHeaderMap&
requestHeaders
, String& errorDescription) const
126
HTTPHeaderMap::const_iterator end =
requestHeaders
.end();
127
for (HTTPHeaderMap::const_iterator it =
requestHeaders
.begin(); it != end; ++it) {
136
bool CrossOriginPreflightResultCacheItem::allowsRequest(StoredCredentials includeCredentials, const String& method, const HTTPHeaderMap&
requestHeaders
) const
145
if (!allowsCrossOriginHeaders(
requestHeaders
, ignoredExplanation))
163
bool CrossOriginPreflightResultCache::canSkipPreflight(const String& origin, const KURL& url, StoredCredentials includeCredentials, const String& method, const HTTPHeaderMap&
requestHeaders
)
170
if (cacheIt->value->allowsRequest(includeCredentials, method,
requestHeaders
))
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
JavaNetHttpHelper.java
75
* @param
requestHeaders
Request headers.
81
public String get(String url, Map<String,String>
requestHeaders
)
85
c = createConnection(url,
requestHeaders
);
101
public String post(String url, Map<String,String>
requestHeaders
, String content)
105
if (
requestHeaders
== null) {
106
requestHeaders
= new HashMap<String, String>();
108
requestHeaders
.put("Content-Length",
110
c = createConnection(url,
requestHeaders
);
HttpHelper.java
31
public String get(String url, Map<String,String>
requestHeaders
)
36
public String post(String url, Map<String,String>
requestHeaders
, String content)
/libcore/luni/src/main/java/java/net/
CookieHandler.java
49
* @param
requestHeaders
56
Map<String, List<String>>
requestHeaders
) throws IOException;
ResponseCache.java
55
* @param
requestHeaders
65
Map<String, List<String>>
requestHeaders
) throws IOException;
/libcore/luni/src/test/java/libcore/java/net/
OldCookieHandlerTest.java
80
public Map get(URI uri, Map
requestHeaders
) throws IOException {
83
return
requestHeaders
;
/external/oauth/core/src/main/java/net/oauth/client/
URLConnectionResponse.java
43
public URLConnectionResponse(HttpMessage request, String
requestHeaders
,
46
this.
requestHeaders
=
requestHeaders
;
53
private final String
requestHeaders
;
99
StringBuilder request = new StringBuilder(
requestHeaders
);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
CookieHandlerTest.java
53
public Map get(URI uri, Map
requestHeaders
) throws IOException {
/external/okhttp/src/main/java/com/squareup/okhttp/
OkResponseCache.java
35
CacheResponse get(URI uri, String requestMethod, Map<String, List<String>>
requestHeaders
)
Connection.java
308
RawHeaders
requestHeaders
= tunnelRequest.getRequestHeaders();
310
out.write(
requestHeaders
.toBytes());
317
requestHeaders
= new RawHeaders(
requestHeaders
);
320
route.address.authenticator, HTTP_PROXY_AUTH, responseHeaders,
requestHeaders
,
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
SpdyServer.java
83
List<String>
requestHeaders
= stream.getRequestHeaders();
85
for (int i = 0; i <
requestHeaders
.size(); i += 2) {
86
String s =
requestHeaders
.get(i);
88
path =
requestHeaders
.get(i + 1);
/external/chromium_org/chrome/browser/resources/identity_scope_approval_dialog/
scope_approval_dialog.js
24
headers = details.
requestHeaders
|| [];
27
return {
requestHeaders
: headers };
30
}, ['blocking', '
requestHeaders
']);
/frameworks/base/core/java/android/net/http/
HttpResponseCache.java
210
Map<String, List<String>>
requestHeaders
) throws IOException {
211
return delegate.get(uri, requestMethod,
requestHeaders
);
/frameworks/base/tests/CoreTests/android/core/
HttpConstants.java
69
public static final String[]
requestHeaders
= {
RequestAPITest.java
193
testEventHandler.expectHeaderAdd(
requestHeaders
[REQ_CONNECTION], "Close");
194
testEventHandler.expectHeaderAdd(
requestHeaders
[REQ_CONTENT_LENGTH], "52");
195
testEventHandler.expectHeaderAdd(
requestHeaders
[REQ_CONTENT_TYPE], "text/html");
324
testEventHandler.expectHeaderAdd(
requestHeaders
[REQ_LOCATION], REDIRECT_TO);
347
testEventHandler.expectHeaderAdd(
requestHeaders
[REQ_CONTENT_LENGTH], "52");
348
testEventHandler.expectHeaderAdd(
requestHeaders
[REQ_CONTENT_TYPE], "text/html");
351
// testEventHandler.expectHeaderAdd(
requestHeaders
[REQ_SERVER], "TestWebServer8081");
/libcore/support/src/test/java/tests/support/
Support_HttpConstants.java
69
public static final String[]
requestHeaders
= {
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
SpdyStream.java
83
private final List<String>
requestHeaders
;
99
List<String>
requestHeaders
, Settings settings) {
101
if (
requestHeaders
== null) throw new NullPointerException("
requestHeaders
== null");
106
this.
requestHeaders
=
requestHeaders
;
152
return
requestHeaders
;
/external/chromium_org/chrome/browser/resources/gaia_auth/
background.js
106
details.
requestHeaders
.push({
110
return {
requestHeaders
: details.
requestHeaders
};
113
['blocking', '
requestHeaders
']);
Completed in 572 milliseconds
1
2
3