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

  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
Transport.java 56 ResponseHeaders readResponseHeaders() throws IOException;
SpdyTransport.java 69 @Override public ResponseHeaders readResponseHeaders() throws IOException {
74 ResponseHeaders headers = new ResponseHeaders(httpEngine.uri, rawHeaders);
ResponseHeaders.java 35 public final class ResponseHeaders {
120 public ResponseHeaders(URI uri, RawHeaders headers) {
445 public boolean validate(ResponseHeaders networkResponse) {
466 public ResponseHeaders combine(ResponseHeaders network) throws IOException {
488 return new ResponseHeaders(uri, result);
HttpEngine.java 127 ResponseHeaders responseHeaders;
133 private ResponseHeaders cachedResponseHeaders;
202 setResponse(new ResponseHeaders(uri, rawResponseHeaders), cacheResponse.getBody());
238 cachedResponseHeaders = new ResponseHeaders(uri, rawResponseHeaders);
331 private void setResponse(ResponseHeaders headers, InputStream body) throws IOException {
335 this.responseHeaders = headers;
354 return responseHeaders != null;
361 public final ResponseHeaders getResponseHeaders() {
362 if (responseHeaders == null)
    [all...]
HttpTransport.java 134 @Override public ResponseHeaders readResponseHeaders() throws IOException {
139 ResponseHeaders headers = new ResponseHeaders(httpEngine.uri, rawHeaders);
161 if (httpEngine.responseHeaders != null && httpEngine.responseHeaders.hasConnectionClose()) {
205 if (httpEngine.responseHeaders.isChunked()) {
209 if (httpEngine.responseHeaders.getContentLength() != -1) {
211 httpEngine.responseHeaders.getContentLength());
468 RawHeaders rawResponseHeaders = httpEngine.responseHeaders.getHeaders();
  /libcore/benchmarks/src/benchmarks/regression/
URLConnectionBenchmark.java 36 @Param private ResponseHeaders responseHeaders;
58 responseHeaders.apply(response);
106 enum ResponseHeaders {
  /external/chromium/net/socket_stream/
socket_stream.h 178 class ResponseHeaders : public IOBuffer {
180 ResponseHeaders();
188 ~ResponseHeaders();
297 scoped_refptr<ResponseHeaders> tunnel_response_headers_;
socket_stream.cc 41 SocketStream::ResponseHeaders::ResponseHeaders() : IOBuffer() {}
43 void SocketStream::ResponseHeaders::Realloc(size_t new_size) {
47 SocketStream::ResponseHeaders::~ResponseHeaders() { data_ = NULL; }
680 tunnel_response_headers_ = new ResponseHeaders();
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/web_request/
web_request_api_helpers.h 42 typedef std::vector<ResponseHeader> ResponseHeaders;
154 ResponseHeaders added_response_headers;
157 ResponseHeaders deleted_response_headers;
218 ResponseHeaders* new_response_headers);
web_request_api_helpers.cc 327 ResponseHeaders* new_response_headers) {
345 for (ResponseHeaders::const_iterator i = new_response_headers->begin();
360 for (ResponseHeaders::const_iterator i = new_response_headers->begin();
    [all...]
web_request_api.h 161 scoped_ptr<extension_web_request_api_helpers::ResponseHeaders>
web_request_api.cc 601 else if (str == "responseHeaders")
    [all...]
web_request_api_unittest.cc 80 using helpers::ResponseHeaders;
    [all...]
  /external/chromium_org/net/socket_stream/
socket_stream.h 214 class ResponseHeaders : public IOBuffer {
216 ResponseHeaders();
224 virtual ~ResponseHeaders();
363 scoped_refptr<ResponseHeaders> tunnel_response_headers_;
socket_stream.cc 82 SocketStream::ResponseHeaders::ResponseHeaders() : IOBuffer() {}
84 void SocketStream::ResponseHeaders::Realloc(size_t new_size) {
88 SocketStream::ResponseHeaders::~ResponseHeaders() { data_ = NULL; }
867 tunnel_response_headers_ = new ResponseHeaders();
    [all...]
  /external/okhttp/src/main/java/com/squareup/okhttp/
HttpResponseCache.java 28 import com.squareup.okhttp.internal.http.ResponseHeaders;
250 ResponseHeaders response = httpEngine.getResponseHeaders();
293 ResponseHeaders response = httpEngine.getResponseHeaders();
457 private final RawHeaders responseHeaders;
522 responseHeaders = new RawHeaders();
523 responseHeaders.setStatusLine(reader.readLine());
526 responseHeaders.addLine(reader.readLine());
552 this.responseHeaders = RawHeaders.fromMultimap(httpConnection.getHeaderFields(), true);
598 writer.write(responseHeaders.getStatusLine() + '\n');
599 writer.write(Integer.toString(responseHeaders.length()) + '\n')
    [all...]
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
HttpResponseCacheTest.java     [all...]
  /external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/
webrequest_condition_attribute_unittest.cc 416 // "ResponseHeaders" (below), because the header-matching code is shared
498 TEST(WebRequestConditionAttributeTest, ResponseHeaders) {

Completed in 214 milliseconds