Searched defs:headers (Results 1 - 25 of 41) sorted by relevance

12

/frameworks/base/core/java/android/webkit/
H A DUrlInterceptHandler.java36 * @param headers The headers associated with the request. May be null.
42 public CacheResult service(String url, Map<String, String> headers); argument
50 * @param headers The headers associated with the request. May be null.
56 public PluginData getPluginData(String url, Map<String, String> headers); argument
H A DCacheLoader.java25 * and encoding is added to the HTTP response headers.
51 protected void buildHeaders(Headers headers) { argument
57 headers.setContentType(sb.toString());
60 headers.setLocation(mCacheResult.location);
64 headers.setExpires(mCacheResult.expiresString);
68 headers.setContentDisposition(mCacheResult.contentdisposition);
H A DContentLoader.java102 protected void buildHeaders(Headers headers) { argument
104 headers.setContentType("text/html");
107 headers.setCacheControl("no-store, no-cache");
H A DPluginData.java27 * the length of the body, the response headers, and the response
45 * The associated HTTP response headers stored as a map of
62 * @param headers The response headers. Map of
73 Map<String, String[]> headers,
77 mHeaders = headers;
108 * Returns the HTTP response headers associated with the plugin
111 * @return A Map<String, String[]> containing all headers. The
70 PluginData( InputStream stream, long length, Map<String, String[]> headers, int code) argument
H A DFileLoader.java118 protected void buildHeaders(Headers headers) { argument
H A DUrlInterceptRegistry.java119 String url, Map<String, String> headers) {
126 CacheResult result = handler.service(url, headers);
146 String url, Map<String, String> headers) {
153 PluginData data = handler.getPluginData(url, headers);
118 getSurrogate( String url, Map<String, String> headers) argument
145 getPluginData( String url, Map<String, String> headers) argument
H A DStreamLoader.java40 * additional HTTP headers to the response.
51 private static final int MSG_HEADERS = 101; // Send headers to loader
81 * This method is called when the headers are about to be sent to the
83 * headers.
85 * @param headers Map of HTTP headers that will be sent to the loader.
87 abstract protected void buildHeaders(Headers headers); argument
153 * Construct the headers and pass them to the EventHandler.
156 Headers headers = new Headers();
158 headers
[all...]
H A DNetwork.java149 * @param headers The http headers.
155 Map<String, String> headers,
188 url, loader.getWebAddress(), method, headers, loader,
154 requestURL(String method, Map<String, String> headers, byte [] postData, LoadListener loader) argument
/frameworks/base/core/java/com/google/android/mms/pdu/
H A DAcknowledgeInd.java44 * Constructor with given headers.
46 * @param headers Headers for this PDU.
48 AcknowledgeInd(PduHeaders headers) { argument
49 super(headers);
H A DDeliveryInd.java40 * Constructor with given headers.
42 * @param headers Headers for this PDU.
44 DeliveryInd(PduHeaders headers) { argument
45 super(headers);
H A DGenericPdu.java24 * The headers of pdu.
38 * @param headers Headers for this PDU.
40 GenericPdu(PduHeaders headers) { argument
41 mPduHeaders = headers;
45 * Get the headers of this PDU.
H A DSendConf.java37 * Constructor with given headers.
39 * @param headers Headers for this PDU.
41 SendConf(PduHeaders headers) { argument
42 super(headers);
H A DNotifyRespInd.java47 * Constructor with given headers.
49 * @param headers Headers for this PDU.
51 NotifyRespInd(PduHeaders headers) { argument
52 super(headers);
H A DReadOrigInd.java37 * Constructor with given headers.
39 * @param headers Headers for this PDU.
41 ReadOrigInd(PduHeaders headers) { argument
42 super(headers);
H A DMultimediaMessagePdu.java50 * Constructor with given headers.
52 * @param headers Headers for this PDU.
54 MultimediaMessagePdu(PduHeaders headers) { argument
55 super(headers);
H A DNotificationInd.java41 * Constructor with given headers.
43 * @param headers Headers for this PDU.
45 NotificationInd(PduHeaders headers) { argument
46 super(headers);
H A DReadRecInd.java49 * Constructor with given headers.
51 * @param headers Headers for this PDU.
53 ReadRecInd(PduHeaders headers) { argument
54 super(headers);
H A DRetrieveConf.java40 * Constructor with given headers.
42 * @param headers Headers for this PDU.
44 RetrieveConf(PduHeaders headers) { argument
45 super(headers);
49 * Constructor with given headers and body
51 * @param headers Headers for this PDU.
54 RetrieveConf(PduHeaders headers, PduBody body) { argument
55 super(headers, body);
/frameworks/base/tests/CoreTests/android/webkit/
H A DUrlInterceptRegistryTest.java47 public CacheResult service(String url, Map<String, String> headers) { argument
53 String> headers) {
51 getPluginData(String url, Map<String, String> headers) argument
/frameworks/base/tools/aidl/
H A Daidl_language_y.y30 | headers document_items { g_callbacks->document($2.document_item); }
33 headers: label
/frameworks/base/obex/javax/obex/
H A DOperation.java60 * As headers are received, they may be retrieved through the
61 * <code>getReceivedHeaders()</code> method. If new headers are set during the
62 * operation, the new headers will be sent during the next packet exchange.
123 * object. No headers are sent in the abort request. This will end the
131 * Returns the headers that have been received during the operation.
132 * Modifying the object returned has no effect on the headers that are sent
134 * @return the headers received during this <code>Operation</code>
140 * Specifies the headers that should be sent in the next OBEX message that
142 * @param headers the headers t
150 sendHeaders(HeaderSet headers) argument
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DURLTest.java84 private Map<String, String> headers = new HashMap<String, String>(); field in class:URLTest.DummyServer
100 headers.clear();
109 headers.put(key, value);
184 String userAgent = server.headers.get("User-Agent");
/frameworks/base/core/java/android/net/http/
H A DLoggingEventHandler.java46 public void headers(Headers headers) { argument
48 HttpLog.v("LoggingEventHandler:headers()");
49 HttpLog.v(headers.toString());
H A DAndroidHttpClientConnection.java249 * 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) argument
334 // Check for folded headers first
336 // discussion on folded headers
359 headers
385 receiveResponseEntity(final Headers headers) argument
416 determineLength(final Headers headers) argument
[all...]
H A DEventHandler.java22 * processed. The normal order of callbacks is status(), headers(),
105 * Called after all headers are successfully processed.
107 public void headers(Headers headers); argument

Completed in 203 milliseconds

12