HomeSort by relevance Sort by last modified time
    Searched refs:headers (Results 76 - 100 of 370) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/oauth/core/src/main/java/net/oauth/client/
OAuthResponseMessage.java 40 getHeaders().addAll(http.headers);
41 for (Map.Entry<String, String> header : http.headers) {
URLConnectionResponse.java 40 * from OAuth WWW-Authenticate headers and the body. The header parameters
50 this.headers.addAll(getHeaders());
76 List<Map.Entry<String, String>> headers = new ArrayList<Map.Entry<String, String>>(); local
82 headers.add(new OAuth.Parameter(name, value));
89 headers.add(new OAuth.Parameter(CONTENT_TYPE, connection
92 return headers;
  /external/oauth/core/src/main/java/net/oauth/http/
HttpMessageDecoder.java 68 this.headers.addAll(in.headers);
  /external/webkit/WebCore/html/
HTMLTableCellElement.idl 33 attribute [ConvertNullToNullString] DOMString headers;
  /external/webkit/WebCore/websockets/
WebSocketHandshake.h 90 // Reads all headers except for the two predefined ones.
91 const char* readHTTPHeaders(const char* start, const char* end, HTTPHeaderMap* headers);
92 bool processHeaders(const HTTPHeaderMap& headers);
  /frameworks/base/core/java/com/google/android/mms/pdu/
MultimediaMessagePdu.java 50 * Constructor with given headers.
52 * @param headers Headers for this PDU.
54 MultimediaMessagePdu(PduHeaders headers) {
55 super(headers);
ReadOrigInd.java 37 * Constructor with given headers.
39 * @param headers Headers for this PDU.
41 ReadOrigInd(PduHeaders headers) {
42 super(headers);
ReadRecInd.java 49 * Constructor with given headers.
51 * @param headers Headers for this PDU.
53 ReadRecInd(PduHeaders headers) {
54 super(headers);
  /frameworks/base/core/tests/coretests/src/android/webkit/
UrlInterceptRegistryTest.java 47 public CacheResult service(String url, Map<String, String> headers) {
53 String> headers) {
  /packages/apps/Email/src/org/apache/james/mime4j/
SimpleContentHandler.java 40 * Called after headers are parsed.
42 public abstract void headers(Header header); method in class:SimpleContentHandler
83 headers(tmp);
  /external/apache-http/src/org/apache/http/impl/io/
AbstractMessageParser.java 84 * Parses HTTP headers from the data receiver stream according to the generic
88 * @param maxHeaderCount maximum number of headers allowed. If the number
89 * of headers received from the data stream exceeds maxCount value, an
94 * @return array of HTTP headers
127 // Check for folded headers first
129 // discussion on folded headers
156 Header[] headers = new Header[headerLines.size()]; local
160 headers[i] = parser.parseHeader(buffer);
165 return headers;
178 Header[] headers = AbstractMessageParser.parseHeaders local
    [all...]
  /external/chromium/net/tools/flip_server/
balsa_frame.h 27 // It exists as a proof of concept headers framer.
77 // The method set_balsa_headers clears the headers provided and attaches them
81 void set_balsa_headers(BalsaHeaders* headers) {
82 if (headers_ != headers) {
83 headers_ = headers;
86 // Clear the headers if they are non-null, even if the new headers are
143 const BalsaHeaders* headers() const { return headers_; } function in class:net::BalsaFrame
228 virtual void ProcessHeaders(const BalsaHeaders& headers) {}
balsa_frame.cc 30 // Constants holding some header names for headers which can affect the way the
164 // headers is a valid pointer to a BalsaHeaders class.
171 // headers will be modified
182 // ProcessFirstLine(begin, end, is_request, &headers, &error_code);
188 BalsaHeaders* headers,
219 LOG(DFATAL) << "INTERNAL_LOGIC_ERROR Headers: \n"
220 << headers->OriginalHeadersForDebugging();
229 LOG(DFATAL) << "INTERNAL_LOGIC_ERROR Headers: \n"
230 << headers->OriginalHeadersForDebugging();
238 LOG(DFATAL) << "INTERNAL_LOGIC_ERROR Headers: \n
    [all...]
  /frameworks/base/core/tests/utillib/src/coretestutils/http/
MockResponse.java 44 private Map<String, String> headers = new HashMap<String, String>(); field in class:MockResponse
69 * Returns the HTTP headers, such as "Content-Length: 0".
73 for (String header : headers.keySet()) {
74 headerStrings.add(header + ": " + headers.get(header));
80 headers.put(header.toLowerCase(), value);
89 headers.remove(header.toLowerCase());
  /external/chromium/third_party/libevent/test/
regress_http.c 221 /* For multi-line headers test */
987 struct evkeyvalq headers; local
991 TAILQ_INIT(&headers);
993 if (evhttp_add_header(&headers, "One", "Two") != 0)
996 if (evhttp_add_header(&headers, "One\r", "Two") != -1)
998 if (evhttp_add_header(&headers, "One", "Two") != 0)
1000 if (evhttp_add_header(&headers, "One", "Two\r\n Three") != 0)
1002 if (evhttp_add_header(&headers, "One\r", "Two") != -1)
1004 if (evhttp_add_header(&headers, "One\n", "Two") != -1)
1006 if (evhttp_add_header(&headers, "One", "Two\r") != -1
1035 struct evkeyvalq headers; local
    [all...]
  /frameworks/base/core/java/android/net/http/
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...]
  /external/chromium/net/http/
http_stream_parser.cc 40 const std::string& headers,
51 scoped_refptr<StringIOBuffer> headers_io_buf = new StringIOBuffer(headers);
193 // out the first bytes of the request headers.
254 // the first bytes of the response headers.
259 // The connection closed before we detected the end of the headers.
287 // Prevent growing the headers buffer indefinitely.
293 // Note where the headers stop.
296 if (response_->headers->response_code() / 100 == 1) {
330 // There may be some data left over from reading the response headers.
454 scoped_refptr<HttpResponseHeaders> headers; local
    [all...]
http_response_info.cc 82 // read response-headers
83 headers = new HttpResponseHeaders(pickle, &iter);
84 DCHECK_NE(headers->response_code(), -1);
150 headers->Persist(pickle, persist_options);
  /frameworks/base/obex/javax/obex/
ServerSession.java 253 * @param header the headers to include in the response
308 byte[] headers = new byte[length - 5];
309 bytesReceived = mInput.read(headers);
311 while (bytesReceived != headers.length) {
312 bytesReceived += mInput.read(headers, bytesReceived, headers.length
316 ObexHelper.updateHeaderSet(request, headers);
398 * Byte 1&2: Connect Packet Length Byte 3 to n: headers
429 byte[] headers = new byte[length - 3];
430 bytesReceived = mInput.read(headers);
    [all...]
  /frameworks/base/media/libmedia/
IMediaPlayerService.cpp 60 const char* url, const KeyedVector<String8, String8> *headers, int audioSessionId) {
67 if (headers == NULL) {
70 // serialize the headers
71 data.writeInt32(headers->size());
72 for (size_t i = 0; i < headers->size(); ++i) {
73 data.writeString8(headers->keyAt(i));
74 data.writeString8(headers->valueAt(i));
159 KeyedVector<String8, String8> headers; local
164 headers.add(key, value);
169 pid, client, url, numHeaders > 0 ? &headers : NULL, audioSessionId)
    [all...]
  /external/chromium/net/websockets/
websocket.cc 222 scoped_refptr<HttpResponseHeaders> headers(
224 if (headers->response_code() == 407) {
229 << "response_code=" << headers->response_code()
264 scoped_refptr<HttpResponseHeaders> headers(
266 if (!ProcessHeaders(*headers)) {
267 DLOG(INFO) << "Process Headers failed: "
291 // It assures only one header of |name| in |headers|.
292 // Returns true iff single header of |name| is found in |headers|
295 static bool GetSingleHeader(const HttpResponseHeaders& headers,
300 if (!headers.EnumerateHeader(&iter, name, &first_value)
    [all...]
  /libcore/support/src/test/java/tests/http/
DefaultResponseCache.java 47 // TODO: honor the request headers in the cache key
60 // TODO: honor the response headers for cache invalidation
112 private final Map<String, List<String>> headers; field in class:DefaultResponseCache.Entry
117 this.headers = deepCopy(conn.getHeaderFields());
145 return deepCopy(headers);
  /libcore/support/src/test/java/tests/support/
Support_TestWebServer.java 314 private final Map<String, String> headers; field in class:Support_TestWebServer.Request
317 public Request(String path, Map<String, String> headers) {
319 this.headers = new LinkedHashMap<String, String>(headers);
327 return headers;
363 /* Request headers are stored here */
364 private Map<String, String> headers = new LinkedHashMap<String, String>(); field in class:Support_TestWebServer.Worker
553 headers.put(headerName, headerValue);
558 * Read all headers from the input stream
564 log("Read headers");
    [all...]
  /bootable/recovery/
common.h 40 void ui_start_menu(char** headers, char** items, int initial_selection);
  /external/apache-http/src/org/apache/http/
HttpMessage.java 63 * Returns all the headers with a specified name of this message. Header values
64 * are ignored. Headers are orderd in the sequence they will be sent over a
67 * @param name the name of the headers to return.
68 * @return the headers whose name property equals <code>name</code>.
98 * Returns all the headers of this message. Headers are orderd in the sequence
101 * @return all the headers of this message
140 * Overwrites all the headers in the message.
142 * @param headers the array of headers to set
    [all...]

Completed in 423 milliseconds

1 2 34 5 6 7 8 91011>>