HomeSort by relevance Sort by last modified time
    Searched refs:addHeader (Results 1 - 25 of 105) sorted by null

1 2 3 4 5

  /libcore/benchmarks/src/benchmarks/regression/
URLConnectionBenchmark.java 113 response.addHeader("Date: Wed, 30 Jun 2010 17:57:39 GMT");
114 response.addHeader("Server: hi");
115 response.addHeader("X-RateLimit-Remaining: 0");
116 response.addHeader("X-Runtime: 0.01637");
117 response.addHeader("Content-Type: application/json; charset=utf-8");
118 response.addHeader("X-RateLimit-Class: api_whitelisted");
119 response.addHeader("Cache-Control: no-cache, max-age=300");
120 response.addHeader("X-RateLimit-Reset: 1277920980");
121 response.addHeader("Set-Cookie: _twitter_sess=BAh7EDoOcmV0dXJuX3RvIjZodHRwOi8vZGV2L"
131 response.addHeader("Expires: Wed, 30 Jun 2010 18:02:39 GMT")
    [all...]
  /external/apache-http/src/org/apache/http/protocol/
RequestContent.java 75 request.addHeader(HTTP.CONTENT_LEN, "0");
84 request.addHeader(HTTP.TRANSFER_ENCODING, HTTP.CHUNK_CODING);
86 request.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength()));
91 request.addHeader(entity.getContentType());
96 request.addHeader(entity.getContentEncoding());
ResponseContent.java 77 response.addHeader(HTTP.TRANSFER_ENCODING, HTTP.CHUNK_CODING);
79 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength()));
84 response.addHeader(entity.getContentType());
89 response.addHeader(entity.getContentEncoding());
96 response.addHeader(HTTP.CONTENT_LEN, "0");
RequestConnControl.java 63 request.addHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_KEEP_ALIVE);
RequestUserAgent.java 64 request.addHeader(HTTP.USER_AGENT, useragent);
ResponseServer.java 66 response.addHeader(HTTP.SERVER_HEADER, s);
RequestExpectContinue.java 72 request.addHeader(HTTP.EXPECT_DIRECTIVE, HTTP.EXPECT_CONTINUE);
RequestTargetHost.java 94 request.addHeader(HTTP.TARGET_HOST, targethost.toHostString());
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
HttpResponseCacheTest.java 192 new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS))
193 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS))
196 .addHeader("WWW-Authenticate: challenge");
198 response.addHeader("Proxy-Authenticate: Basic realm=\"protected area\"");
200 response.addHeader("WWW-Authenticate: Basic realm=\"protected area\"");
232 new MockResponse().setStatus("HTTP/1.1 200 Fantastic").addHeader("fgh: ijk").setBody(body));
294 new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS))
295 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS))
329 server.enqueue(new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS))
330 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)
    [all...]
  /external/apache-http/src/org/apache/http/
HttpMessage.java 111 void addHeader(Header header);
120 void addHeader(String name, String value);
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
CSSStyleSheetMapping.js 55 this._stylesSourceMapping.addHeader(header);
56 this._sassSourceMapping.addHeader(header);
  /external/apache-http/src/org/apache/http/message/
AbstractHttpMessage.java 93 public void addHeader(final Header header) {
94 this.headergroup.addHeader(header);
98 public void addHeader(final String name, final String value) {
102 this.headergroup.addHeader(new BasicHeader(name, value));
  /frameworks/base/core/tests/coretests/src/android/net/http/
CookiesTest.java 53 .addHeader("Set-Cookie: password=secret; Domain=fake.domain"));
83 .addHeader("Set-Cookie: a=first; Domain=my.t-mobile.com")
84 .addHeader("Set-Cookie: b=second; Domain=.T-mobile.com")
85 .addHeader("Set-Cookie: c=third; Domain=.t-mobile.com")
  /external/mockwebserver/src/test/java/com/google/mockwebserver/
MockWebServerTest.java 83 .addHeader("Cookie: s=square")
84 .addHeader("Cookie", "a=android");
92 .addHeader("Cookie: s=square")
93 .addHeader("Cookie: a=android")
94 .addHeader("Cookies: delicious");
121 .addHeader("Location: " + server.getUrl("/new-path"))
163 .addHeader("Transfer-encoding: chunked"));
179 .addHeader("Content-Length: 4"));
  /external/chromium_org/third_party/WebKit/Source/platform/exported/
WebHTTPLoadInfo.cpp 103 static void addHeader(HTTPHeaderMap* map, const WebString& name, const WebString& value)
114 addHeader(&m_private->requestHeaders, name, value);
120 addHeader(&m_private->responseHeaders, name, value);
  /external/apache-http/src/org/apache/http/client/protocol/
RequestDefaultHeaders.java 69 request.addHeader((Header) defHeader);
RequestProxyAuthentication.java 95 request.addHeader(authScheme.authenticate(creds, request));
RequestTargetAuthentication.java 96 request.addHeader(authScheme.authenticate(creds, request));
  /external/mockwebserver/src/main/java/com/google/mockwebserver/
MockResponse.java 100 public MockResponse addHeader(String header) {
109 public MockResponse addHeader(String name, Object value) {
110 return addHeader(name + ": " + String.valueOf(value));
119 return addHeader(name, value);
  /packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
Part.java 23 public void addHeader(String name, String value) throws MessagingException;
  /frameworks/volley/src/com/android/volley/toolbox/
HttpClientStack.java 100 postRequest.addHeader(HEADER_CONTENT_TYPE, request.getPostBodyContentType());
115 postRequest.addHeader(HEADER_CONTENT_TYPE, request.getBodyContentType());
121 putRequest.addHeader(HEADER_CONTENT_TYPE, request.getBodyContentType());
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
HttpResponseStub.java 79 @Override public void addHeader(Header header) {
83 @Override public void addHeader(String s, String s1) {
  /frameworks/opt/net/voip/src/java/com/android/server/sip/
SipHelper.java 218 request.addHeader(createWildcardContactHeader());
220 request.addHeader(createContactHeader(userProfile));
222 request.addHeader(mHeaderFactory.createExpiresHeader(expiry));
251 request.addHeader(userAgentHeader);
283 request.addHeader(createContactHeader(caller));
292 if (referredBy != null) request.addHeader(referredBy);
294 request.addHeader(mHeaderFactory.createHeader(
360 response.addHeader(toHeader);
380 response.addHeader(createContactHeader(localProfile, externalIp,
467 request.addHeader(mHeaderFactory.createSubscriptionStateHeader
    [all...]
  /external/chromium/third_party/libjingle/source/talk/p2p/client/
httpportallocator.cc 178 request->request().addHeader("X-Talk-Google-Relay-Auth", relay_token_, true);
179 request->request().addHeader("X-Google-Relay-Auth", relay_token_, true);
180 request->request().addHeader("X-Session-Type", session_type(), true);
181 request->request().addHeader("X-Stream-Type", name(), true);
  /frameworks/base/core/java/android/net/http/
Request.java 134 addHeader(HOST_HEADER, getHostPort());
139 addHeader(ACCEPT_ENCODING_HEADER, "gzip");
172 void addHeader(String name, String value) {
183 mHttpRequest.addHeader(name, value);
188 * method: it calls addHeader for each pair in the map.
199 addHeader(entry.getKey(), entry.getValue());

Completed in 2576 milliseconds

1 2 3 4 5