/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());
|
/libcore/luni/src/test/java/libcore/net/http/ |
HttpResponseCacheTest.java | 159 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) 160 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) 163 .addHeader("WWW-Authenticate: challenge")); 194 .addHeader("fgh: ijk") 257 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) 258 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) 294 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) 295 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) 345 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) 346 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS) [all...] |
/packages/providers/DownloadProvider/tests/src/tests/http/ |
MockResponse.java | 42 addHeader("Content-Length", 0); 68 public MockResponse addHeader(String header, String value) { 73 public MockResponse addHeader(String header, long value) { 74 return addHeader(header, Long.toString(value)); 90 addHeader("Content-Length", body.length); 104 addHeader("Transfer-encoding", "chunked");
|
/external/apache-http/src/org/apache/http/ |
HttpMessage.java | 111 void addHeader(Header header); 120 void addHeader(String name, String value);
|
/frameworks/base/core/tests/utillib/src/coretestutils/http/ |
MockResponse.java | 53 addHeader("Content-Length", 0); 79 public MockResponse addHeader(String header, String value) { 84 public MockResponse addHeader(String header, long value) { 85 return addHeader(header, Long.toString(value)); 115 addHeader("Content-Length", body.length()); 121 addHeader("Content-Length", body.length); 140 addHeader("Transfer-encoding", "chunked");
|
/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/webkit/Source/WebKit/chromium/src/ |
WebHTTPLoadInfo.cpp | 104 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));
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/ |
Part.java | 23 public void addHeader(String name, String value) throws MessagingException;
|
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
MockWebServerTest.java | 63 .addHeader("Location: " + server.getUrl("/new-path")) 82 .addHeader("Transfer-encoding: chunked")); 98 .addHeader("Content-Length: 4"));
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
MimeHeader.java | 70 public void addHeader(String name, String value) throws MessagingException { 79 addHeader(name, value);
|
/frameworks/base/voip/java/com/android/server/sip/ |
SipHelper.java | 220 request.addHeader(createWildcardContactHeader()); 222 request.addHeader(createContactHeader(userProfile)); 224 request.addHeader(mHeaderFactory.createExpiresHeader(expiry)); 253 request.addHeader(userAgentHeader); 285 request.addHeader(createContactHeader(caller)); 294 if (referredBy != null) request.addHeader(referredBy); 296 request.addHeader(mHeaderFactory.createHeader( 362 response.addHeader(toHeader); 382 response.addHeader(createContactHeader(localProfile, externalIp, 469 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);
|
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/ |
AdapterBinding.java | 42 public void addHeader(ResourceReference layoutInfo) {
|
/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());
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
PublicApiFunctionalTest.java | 181 .addHeader("Content-length", totalLength) 182 .addHeader("Etag", ETAG); 184 response.addHeader("Content-range", 197 .addHeader("Content-length", contentLength) 198 .addHeader("Etag", ETAG) 377 enqueueEmptyResponse(HTTP_OK).addHeader("Content-Type", "text/html; charset=ISO-8859-4"); 391 enqueueEmptyResponse(HTTP_OK).addHeader("Content-Length", 521 enqueueEmptyResponse(HTTP_SERVICE_UNAVAILABLE).addHeader("Retry-after", delay); 607 enqueueEmptyResponse(status).addHeader("Location",
|