/libcore/luni/src/test/java/libcore/java/net/ |
CookiesMCompatibilityTest.java | 37 Map<String, List<String>> responseHeaders = new HashMap<>(); 40 responseHeaders.put("Set-Cookie", list); 43 cm.put(uri, responseHeaders); 47 responseHeaders); 56 Map<String, List<String>> responseHeaders = new HashMap<>(); 58 responseHeaders.put("Set-Cookie", list); 59 cm.put(uri, responseHeaders); 62 responseHeaders);
|
CookiesTest.java | 37 Map<String, List<String>> responseHeaders = new HashMap<>(); 40 responseHeaders.put("Set-Cookie", list); 43 cm.put(uri, responseHeaders); 47 responseHeaders);
|
AbstractCookiesTest.java | [all...] |
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
AsynchronousGet.java | 41 Headers responseHeaders = response.headers(); 42 for (int i = 0, size = responseHeaders.size(); i < size; i++) { 43 System.out.println(responseHeaders.name(i) + ": " + responseHeaders.value(i));
|
SynchronousGet.java | 35 Headers responseHeaders = response.headers(); 36 for (int i = 0; i < responseHeaders.size(); i++) { 37 System.out.println(responseHeaders.name(i) + ": " + responseHeaders.value(i));
|
CustomTrust.java | 53 Headers responseHeaders = response.headers(); 54 for (int i = 0; i < responseHeaders.size(); i++) { 55 System.out.println(responseHeaders.name(i) + ": " + responseHeaders.value(i));
|
/external/libmicrohttpd/doc/ |
Makefile.am | 22 chapters/responseheaders.inc \
|
libmicrohttpd-tutorial.texi | 90 @include chapters/responseheaders.inc 125 * responseheaders.c:: 145 @node responseheaders.c 146 @section responseheaders.c 148 @verbatiminclude examples/responseheaders.c
|
/external/libmicrohttpd/doc/examples/ |
Makefile.am | 18 responseheaders 48 responseheaders.c
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
OkHeaders.java | 156 public static boolean hasVaryAll(Headers responseHeaders) { 157 return varyFields(responseHeaders).contains("*"); 168 public static Set<String> varyFields(Headers responseHeaders) { 170 for (int i = 0, size = responseHeaders.size(); i < size; i++) { 171 if (!"Vary".equalsIgnoreCase(responseHeaders.name(i))) continue; 173 String value = responseHeaders.value(i); 193 Headers responseHeaders = response.headers(); 194 return varyHeaders(requestHeaders, responseHeaders); 201 public static Headers varyHeaders(Headers requestHeaders, Headers responseHeaders) { 202 Set<String> varyFields = varyFields(responseHeaders); [all...] |
/external/chromium-trace/catapult/third_party/html5lib-python/utils/ |
spider.py | 95 responseHeaders = {} 100 responseHeaders[url] = resp 108 toVisit = set([url for url in urls if url in responseHeaders and 109 "html" in responseHeaders[url]['content-type'] and 110 responseHeaders[url]['status'] == "200"])
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
FramedStream.java | 62 private List<Header> responseHeaders; 112 && responseHeaders != null) { 139 while (responseHeaders == null && errorCode == null) { 145 if (responseHeaders != null) return responseHeaders; 163 public void reply(List<Header> responseHeaders, boolean out) throws IOException { 167 if (responseHeaders == null) { 168 throw new NullPointerException("responseHeaders == null"); 170 if (this.responseHeaders != null) { 173 this.responseHeaders = responseHeaders [all...] |
PushObserver.java | 56 * @param responseHeaders minimally includes {@code :status}. 59 boolean onHeaders(int streamId, List<Header> responseHeaders, boolean last); 82 @Override public boolean onHeaders(int streamId, List<Header> responseHeaders, boolean last) {
|
/libcore/benchmarks/src/benchmarks/regression/ |
URLConnectionBenchmark.java | 34 @Param private ResponseHeaders responseHeaders; 56 responseHeaders.apply(response); 104 enum ResponseHeaders {
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
BasicNetwork.java | 91 Map<String, String> responseHeaders = Collections.emptyMap(); 100 responseHeaders = convertHeaders(httpResponse.getAllHeaders()); 107 responseHeaders, true, 115 entry.responseHeaders.putAll(responseHeaders); 117 entry.responseHeaders, true, 137 return new NetworkResponse(statusCode, responseContents, responseHeaders, false, 156 responseHeaders, false, SystemClock.elapsedRealtime() - requestStart);
|
DiskBasedCache.java | 363 public Map<String, String> responseHeaders; 380 this.responseHeaders = entry.responseHeaders; 404 entry.responseHeaders = readStringStringMap(is); 420 e.responseHeaders = responseHeaders; 437 writeStringStringMap(responseHeaders, os);
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/framed/ |
FramedServer.java | 123 List<Header> responseHeaders = Arrays.asList( 128 stream.reply(responseHeaders, true); 135 List<Header> responseHeaders = Arrays.asList( 140 stream.reply(responseHeaders, true); 150 List<Header> responseHeaders = Arrays.asList( 155 stream.reply(responseHeaders, true);
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/ |
GwtNet.java | 82 Header[] responseHeaders = response.getHeaders(); 83 for (int i = 0; i < responseHeaders.length; i++) { 84 Header header = responseHeaders[i]; 86 String headerName = responseHeaders[i].getName(); 92 headerValues.add(responseHeaders[i].getValue());
|
/cts/libs/testserver/src/android/webkit/cts/ |
TestWebServer.java | 86 Response(byte[] responseData, List<Pair<String, String>> responseHeaders, 91 mResponseHeaders = responseHeaders == null ? 92 new ArrayList<Pair<String, String>>() : responseHeaders; 178 List<Pair<String, String>> responseHeaders, Runnable responseAction, 185 responseData, responseHeaders, isRedirect, isNotFound, responseAction)); 223 * @param responseHeaders Any additional headers that should be returned along with the 230 List<Pair<String, String>> responseHeaders) { 231 return setResponseInternal(requestPath, responseString.getBytes(), responseHeaders, null, 242 * @param responseHeaders Any additional headers that should be returned along with the 251 String requestPath, String responseString, List<Pair<String, String>> responseHeaders, [all...] |
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
DiskBasedCacheTest.java | 42 e.responseHeaders = new HashMap<String, String>(); 43 e.responseHeaders.put("fruit", "banana"); 57 assertEquals(first.responseHeaders, second.responseHeaders);
|
/frameworks/base/core/java/android/webkit/ |
WebResourceResponse.java | 68 * @param responseHeaders the resource response's headers represented as a mapping of header 74 String reasonPhrase, Map<String, String> responseHeaders, InputStream data) { 77 setResponseHeaders(responseHeaders); 219 String reasonPhrase, Map<String, String> responseHeaders, InputStream data) { 225 mResponseHeaders = responseHeaders;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
CookieHandlerTest.java | 57 public void put(URI uri, Map responseHeaders) throws IOException {
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Cache.java | 474 private final Headers responseHeaders; 547 responseHeaders = responseHeadersBuilder.build(); 573 this.responseHeaders = response.headers(); 595 sink.writeDecimalLong(responseHeaders.size()); 597 for (int i = 0, size = responseHeaders.size(); i < size; i++) { 598 sink.writeUtf8(responseHeaders.name(i)); 600 sink.writeUtf8(responseHeaders.value(i)); 660 String contentType = responseHeaders.get("Content-Type"); 661 String contentLength = responseHeaders.get("Content-Length"); 672 .headers(responseHeaders) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
test_cors.py | 57 '<ResponseHeaders><ResponseHeader>foo</ResponseHeader>' 58 '<ResponseHeader>bar</ResponseHeader></ResponseHeaders>' 62 '<ResponseHeaders><ResponseHeader>foo2</ResponseHeader>' 63 '<ResponseHeader>bar2</ResponseHeader></ResponseHeaders>'
|
/external/chromium-trace/catapult/third_party/webapp2/tests/ |
test_base.py | 24 from webob.headers import ResponseHeaders
|