HomeSort by relevance Sort by last modified time
    Searched refs:Headers (Results 1 - 19 of 19) sorted by null

  /frameworks/base/core/java/android/webkit/
StreamLoader.java 21 import android.net.http.Headers;
40 * additional HTTP headers to the response.
49 private static final int MSG_HEADERS = 101; // Send headers to loader
84 * This method is called when the headers are about to be sent to the
86 * headers.
88 * @param headers Map of HTTP headers that will be sent to the loader.
90 abstract protected void buildHeaders(Headers headers);
158 * Construct the headers and pass them to the EventHandler
161 Headers headers = new Headers(); local
    [all...]
CacheLoader.java 19 import android.net.http.Headers;
25 * and encoding is added to the HTTP response headers.
51 protected void buildHeaders(Headers headers) {
57 headers.setContentType(sb.toString());
60 headers.setLocation(mCacheResult.location);
64 headers.setExpires(mCacheResult.expiresString);
68 headers.setContentDisposition(mCacheResult.contentdisposition);
72 headers.setXPermittedCrossDomainPolicies(mCacheResult.crossDomain);
ContentLoader.java 20 import android.net.http.Headers;
91 protected void buildHeaders(Headers headers) {
93 headers.setContentType("text/html");
96 headers.setCacheControl("no-store, no-cache");
DataLoader.java 31 * response headers.
75 protected void buildHeaders(android.net.http.Headers h) {
WebViewWorker.java 23 import android.net.http.Headers;
52 Headers mHeaders;
FileLoader.java 23 import android.net.http.Headers;
186 protected void buildHeaders(Headers headers) {
LoadListener.java 28 import android.net.http.Headers;
129 private Headers mHeaders;
194 * This message is sent when the LoadListener has headers
195 * available. The headers are sent onto WebCore to see what we
198 handleHeaders((Headers) msg.obj);
306 * Parse the headers sent from the server.
307 * @param headers gives up the HeaderGroup
311 public void headers(Headers headers) { method in class:LoadListener
    [all...]
HTML5VideoViewProxy.java 27 import android.net.http.Headers;
181 Map<String, String> headers = null; local
183 headers = new HashMap<String, String>();
184 headers.put(COOKIE, cookieValue);
187 mVideoView.setVideoURI(Uri.parse(url), headers); local
349 // The response headers.
350 private Headers mHeaders;
380 public void headers(Headers headers) { method in class:HTML5VideoViewProxy.PosterDownloader
    [all...]
CacheManager.java 21 import android.net.http.Headers;
41 * received over the network. The component handles parsing of HTTP headers and
42 * utilizes the relevant cache headers to determine if the content should be
44 * this component and if they can not be resolved by the cache, the HTTP headers
306 * If headers are provided and a cache needs validation,
308 * cached headers.
313 Map<String, String> headers) {
314 return getCacheFile(url, 0, headers);
318 Map<String, String> headers) {
350 // null headers request coming from CACHE_MODE_CACHE_ONL
    [all...]
  /frameworks/base/core/java/android/net/http/
LoggingEventHandler.java 23 import android.net.http.Headers;
46 public void headers(Headers headers) { method in class:LoggingEventHandler
48 HttpLog.v("LoggingEventHandler:headers()");
49 HttpLog.v(headers.toString());
AndroidHttpClientConnection.java 249 * Sends the request line and all headers over the connection.
250 * @param request the request whose headers to send.
295 * Parses the response headers and adds them to the
296 * given {@code headers} object, and returns the response StatusLine
297 * @param headers store parsed header to headers.
302 public StatusLine parseResponseHeader(Headers headers)
334 // Check for folded headers first
336 // discussion on folded headers
    [all...]
EventHandler.java 22 * processed. The normal order of callbacks is status(), headers(),
105 * Called after all headers are successfully processed.
107 public void headers(Headers headers); method in interface:EventHandler
HttpsConnection.java 171 // handler with the response status and headers. The event
203 Headers headers = new Headers(); local
208 // add all 'proxy' headers from the original request
220 // codes prior to receiving actual headers;
224 statusLine = proxyConnection.parseResponseHeader(headers);
277 req.mEventHandler.headers(headers);
Connection.java 483 if (connType == Headers.CONN_CLOSE) {
485 } else if (connType == Headers.CONN_KEEP_ALIVE) {
Headers.java 32 * Manages received headers
36 public final class Headers {
98 // keep any headers that require direct access in a presized
151 // Catch-all for headers not explicitly handled
155 public Headers() {
205 Log.v(LOGTAG, "Headers.headers(): error parsing"
434 * Reports all non-null headers to the callback
446 HttpLog.v("Headers.getHeaders() extra: " + i + " " +
Request.java 95 * headers.
109 * @param headers reqeust headers
114 Map<String, String> headers) {
140 addHeaders(headers);
187 * Add all headers in given map to this request. This is a helper
190 void addHeaders(Map<String, String> headers) {
191 if (headers == null) {
196 Iterator<Entry<String, String>> i = headers.entrySet().iterator();
204 * Send the request line and headers
    [all...]
  /external/clearsilver/java-jni/
Android.mk 43 LOCAL_C_INCLUDES += /System/Library/Frameworks/JavaVM.framework/Headers
  /frameworks/base/tests/CoreTests/android/core/
TestEventHandler.java 41 /* List of headers received */
218 * Implements the EventHandler headers method called when a server
221 public void headers(Headers headers) { method in class:TestEventHandler
223 Log.v(LOGTAG, "TestEventHandler:headers()");
232 /* Check through headers received for matches with expected
233 * headers */
244 s = Long.toString(headers.getContentLength());
247 s = headers.getContentType()
    [all...]
  /external/bison/tests/
testsuite 357 46;headers.at:27;%union and --defines;;
358 47;headers.at:77;Invalid CPP guards: input/input;;
359 48;headers.at:78;Invalid CPP guards: 9foo;;
360 49;headers.at:87;export YYLTYPE;;
    [all...]

Completed in 654 milliseconds