/external/apache-http/src/org/apache/http/ |
D | HttpVersion.java | 43 public final class HttpVersion extends ProtocolVersion class 52 public static final HttpVersion HTTP_0_9 = new HttpVersion(0, 9); 55 public static final HttpVersion HTTP_1_0 = new HttpVersion(1, 0); 58 public static final HttpVersion HTTP_1_1 = new HttpVersion(1, 1); 69 public HttpVersion(int major, int minor) { in HttpVersion() method in HttpVersion 101 return new HttpVersion(major, minor); in forVersion()
|
/external/chromium/net/http/ |
D | http_version.h | 14 class HttpVersion { 17 HttpVersion() : value_(0) { } in HttpVersion() function 20 HttpVersion(uint16 major, uint16 minor) : value_(major << 16 | minor) { } in HttpVersion() function 34 bool operator==(const HttpVersion& v) const { 37 bool operator!=(const HttpVersion& v) const { 40 bool operator>(const HttpVersion& v) const { 43 bool operator>=(const HttpVersion& v) const { 46 bool operator<(const HttpVersion& v) const { 49 bool operator<=(const HttpVersion& v) const {
|
D | http_response_headers_unittest.cc | 19 net::HttpVersion expected_parsed_version; 20 net::HttpVersion expected_version; 82 net::HttpVersion(1,1), in TEST() 83 net::HttpVersion(1,1) in TEST() 102 net::HttpVersion(1,1), in TEST() 103 net::HttpVersion(1,1) in TEST() 124 net::HttpVersion(1,1), in TEST() 125 net::HttpVersion(1,1) in TEST() 140 net::HttpVersion(0,9), in TEST() 141 net::HttpVersion(1,0) in TEST() [all …]
|
D | http_response_headers.h | 122 HttpVersion GetHttpVersion() const { in GetHttpVersion() 127 HttpVersion GetParsedHttpVersion() const { in GetParsedHttpVersion() 269 static HttpVersion ParseVersion(std::string::const_iterator line_begin, 340 HttpVersion http_version_; 343 HttpVersion parsed_http_version_;
|
D | http_response_headers.cc | 539 HttpVersion HttpResponseHeaders::ParseVersion( in ParseVersion() 550 return HttpVersion(); in ParseVersion() 557 return HttpVersion(); in ParseVersion() 563 return HttpVersion(); in ParseVersion() 571 return HttpVersion(); in ParseVersion() 577 return HttpVersion(major, minor); in ParseVersion() 590 if (parsed_http_version_ == HttpVersion(0, 9) && !has_headers) { in ParseStatusLine() 591 http_version_ = HttpVersion(0, 9); in ParseStatusLine() 593 } else if (parsed_http_version_ >= HttpVersion(1, 1)) { in ParseStatusLine() 594 http_version_ = HttpVersion(1, 1); in ParseStatusLine() [all …]
|
/external/chromium_org/net/http/ |
D | http_version.h | 13 class HttpVersion { 16 HttpVersion() : value_(0) { } in HttpVersion() function 19 HttpVersion(uint16 major, uint16 minor) : value_(major << 16 | minor) { } in HttpVersion() function 33 bool operator==(const HttpVersion& v) const { 36 bool operator!=(const HttpVersion& v) const { 39 bool operator>(const HttpVersion& v) const { 42 bool operator>=(const HttpVersion& v) const { 45 bool operator<(const HttpVersion& v) const { 48 bool operator<=(const HttpVersion& v) const {
|
D | http_response_headers_unittest.cc | 21 net::HttpVersion expected_parsed_version; 22 net::HttpVersion expected_version; 84 net::HttpVersion(1,1), in TEST() 85 net::HttpVersion(1,1) in TEST() 104 net::HttpVersion(1,1), in TEST() 105 net::HttpVersion(1,1) in TEST() 126 net::HttpVersion(1,1), in TEST() 127 net::HttpVersion(1,1) in TEST() 142 net::HttpVersion(0,9), in TEST() 143 net::HttpVersion(1,0) in TEST() [all …]
|
D | http_response_headers.h | 126 HttpVersion GetHttpVersion() const { in GetHttpVersion() 131 HttpVersion GetParsedHttpVersion() const { in GetParsedHttpVersion() 315 static HttpVersion ParseVersion(std::string::const_iterator line_begin, 396 HttpVersion http_version_; 399 HttpVersion parsed_http_version_;
|
D | http_response_headers.cc | 603 HttpVersion HttpResponseHeaders::ParseVersion( in ParseVersion() 614 return HttpVersion(); in ParseVersion() 621 return HttpVersion(); in ParseVersion() 627 return HttpVersion(); in ParseVersion() 635 return HttpVersion(); in ParseVersion() 641 return HttpVersion(major, minor); in ParseVersion() 654 if (parsed_http_version_ == HttpVersion(0, 9) && !has_headers) { in ParseStatusLine() 655 http_version_ = HttpVersion(0, 9); in ParseStatusLine() 657 } else if (parsed_http_version_ >= HttpVersion(1, 1)) { in ParseStatusLine() 658 http_version_ = HttpVersion(1, 1); in ParseStatusLine() [all …]
|
/external/chromium_org/content/renderer/media/ |
D | cache_util.cc | 20 using net::HttpVersion; 31 const HttpVersion http_version = in GetReasonsForUncacheability() 32 version == WebURLResponse::HTTP_1_1 ? HttpVersion(1, 1) : in GetReasonsForUncacheability() 33 version == WebURLResponse::HTTP_1_0 ? HttpVersion(1, 0) : in GetReasonsForUncacheability() 34 version == WebURLResponse::HTTP_0_9 ? HttpVersion(0, 9) : in GetReasonsForUncacheability() 35 HttpVersion(); in GetReasonsForUncacheability() 38 if (http_version < HttpVersion(1, 1) && code == kHttpPartialContent) in GetReasonsForUncacheability()
|
/external/apache-http/src/org/apache/http/impl/ |
D | DefaultConnectionReuseStrategy.java | 39 import org.apache.http.HttpVersion; 103 ver.lessEquals(HttpVersion.HTTP_1_0)) { in keepAlive() 166 return !ver.lessEquals(HttpVersion.HTTP_1_0); in keepAlive()
|
/external/apache-http/src/org/apache/http/protocol/ |
D | HttpService.java | 45 import org.apache.http.HttpVersion; 141 if (!ver.lessEquals(HttpVersion.HTTP_1_1)) { in handleRequest() 143 ver = HttpVersion.HTTP_1_1; in handleRequest() 158 response = this.responseFactory.newHttpResponse(HttpVersion.HTTP_1_0, in handleRequest() 200 (HttpVersion.HTTP_1_0, HttpStatus.SC_INTERNAL_SERVER_ERROR, in handleRequest()
|
D | RequestExpectContinue.java | 41 import org.apache.http.HttpVersion; 71 && !ver.lessEquals(HttpVersion.HTTP_1_0)) { in process()
|
D | RequestTargetHost.java | 43 import org.apache.http.HttpVersion; 87 if (ver.lessEquals(HttpVersion.HTTP_1_0)) { in process()
|
D | RequestContent.java | 41 import org.apache.http.HttpVersion; 80 if (ver.lessEquals(HttpVersion.HTTP_1_0)) { in process()
|
D | ResponseContent.java | 41 import org.apache.http.HttpVersion; 76 if (entity.isChunked() && !ver.lessEquals(HttpVersion.HTTP_1_0)) { in process()
|
D | ResponseConnControl.java | 43 import org.apache.http.HttpVersion; 88 (!entity.isChunked() || ver.lessEquals(HttpVersion.HTTP_1_0))) { in process()
|
D | HttpRequestExecutor.java | 43 import org.apache.http.HttpVersion; 210 !ver.lessEquals(HttpVersion.HTTP_1_0)) { in doSendRequest()
|
/external/apache-http/src/org/apache/http/params/ |
D | HttpProtocolParamBean.java | 34 import org.apache.http.HttpVersion; 50 public void setVersion (final HttpVersion version) { in setVersion()
|
D | HttpProtocolParams.java | 34 import org.apache.http.HttpVersion; 130 return HttpVersion.HTTP_1_1; in getVersion()
|
/external/apache-http/src/org/apache/http/impl/entity/ |
D | StrictContentLengthStrategy.java | 37 import org.apache.http.HttpVersion; 195 if (message.getProtocolVersion().lessEquals(HttpVersion.HTTP_1_0)) { in determineLength()
|
/external/smack/src/com/kenai/jbosh/ |
D | ApacheHTTPSender.java | 23 import org.apache.http.HttpVersion; 130 HttpProtocolParams.setVersion(params, HttpVersion.HTTP_1_1); in initHttpClient()
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | httpcommon.h | 74 enum HttpVersion { enum 143 const char* ToString(HttpVersion version); 144 bool FromString(HttpVersion& version, const std::string& str); 300 HttpVersion version;
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | httpcommon.h | 74 enum HttpVersion { enum 143 const char* ToString(HttpVersion version); 144 bool FromString(HttpVersion& version, const std::string& str); 300 HttpVersion version;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
D | TestHttpResponse.java | 7 import org.apache.http.HttpVersion; 234 return new HttpVersion(1, 0);
|