/external/apache-http/src/org/apache/http/impl/client/ |
BasicResponseHandler.java | 38 import org.apache.http.StatusLine; 74 StatusLine statusLine = response.getStatusLine(); 75 if (statusLine.getStatusCode() >= 300) { 76 throw new HttpResponseException(statusLine.getStatusCode(), 77 statusLine.getReasonPhrase());
|
/frameworks/volley/tests/src/com/android/volley/mock/ |
MockHttpClient.java | 25 import org.apache.http.StatusLine; 58 StatusLine statusLine = new BasicStatusLine( 60 HttpResponse response = new BasicHttpResponse(statusLine);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
StatusLine.java | 6 public final class StatusLine { 11 private final String statusLine; 17 public StatusLine(String statusLine) throws IOException { 24 if (statusLine.startsWith("HTTP/1.")) { 25 if (statusLine.length() < 9 || statusLine.charAt(8) != ' ') { 26 throw new ProtocolException("Unexpected status line: " + statusLine); 28 httpMinorVersion = statusLine.charAt(7) - '0'; 31 throw new ProtocolException("Unexpected status line: " + statusLine); [all...] |
JavaApiConverter.java | 68 String statusLine = extractStatusLine(httpUrlConnection); 69 okResponseBuilder.statusLine(statusLine); 116 okResponseBuilder.statusLine(extractStatusLine(javaResponse)); 219 return OkHeaders.toMultimap(headers, response.statusLine()); 233 return OkHeaders.toMultimap(headers, response.statusLine()); 485 return response.statusLine(); 492 return fieldName == null ? response.statusLine() : response.headers().get(fieldName); 497 return OkHeaders.toMultimap(response.headers(), response.statusLine());
|
HttpConnection.java | 40 import static com.squareup.okhttp.internal.http.StatusLine.HTTP_CONTINUE; 180 StatusLine statusLine = new StatusLine(statusLineString); 183 .statusLine(statusLine) 190 if (statusLine.code() != HTTP_CONTINUE) {
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
SIPResponse.java | 45 import gov.nist.javax.sip.header.StatusLine; 74 protected StatusLine statusLine; 312 if (this.statusLine == null) 313 this.statusLine = new StatusLine(); 314 this.statusLine.setStatusCode(statusCode); 319 *@return StatusLine 321 public StatusLine getStatusLine() { 322 return statusLine; [all...] |
MessageFactoryImpl.java | 296 StatusLine statusLine = new StatusLine(); 297 statusLine.setStatusCode(statusCode); 301 statusLine.setReasonPhrase(reasonPhrase); 302 sipResponse.setStatusLine(statusLine); 607 StatusLine statusLine = new StatusLine(); 608 statusLine.setStatusCode(statusCode) [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
StatusLineTest.java | 30 StatusLine statusLine = new StatusLine("HTTP/1." + version + " " + code + " " + message); 31 assertEquals(message, statusLine.message()); 32 assertEquals(version, statusLine.httpMinorVersion()); 33 assertEquals(code, statusLine.code()); 39 StatusLine statusLine = new StatusLine("HTTP/1." + version + " " + code + " "); 40 assertEquals("", statusLine.message()) [all...] |
ResponseCacheAdapterTest.java | 138 final String statusLine = "HTTP/1.1 200 Fantastic"; 141 .setStatus(statusLine) 163 assertEquals(statusLine, httpUrlConnection.getHeaderField(null)); 178 final String statusLine = "HTTP/1.1 200 Fantastic"; 181 .setStatus(statusLine) 203 assertEquals(statusLine, httpUrlConnection.getHeaderField(null));
|
JavaApiConverterTest.java | 147 String statusLine = "HTTP/1.1 200 Fantastic"; 151 .setStatus(statusLine) 186 assertEquals(statusLine, response.statusLine()); 207 final String statusLine = "HTTP/1.1 200 Fantastic"; 214 headers.put(null, Collections.singletonList(statusLine)); 228 assertNotNullAndEquals(statusLine, response.statusLine()); 236 final String statusLine = "HTTP/1.1 200 Fantastic"; 247 headers.put(null, Collections.singletonList(statusLine)); [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
TestHttpResponse.java | 9 import org.apache.http.StatusLine; 26 private TestStatusLine statusLine = new TestStatusLine(); 56 @Override public StatusLine getStatusLine() { 57 return statusLine;
|
/frameworks/base/core/java/android/net/http/ |
HttpsConnection.java | 30 import org.apache.http.StatusLine; 201 StatusLine statusLine = null; 227 statusLine = proxyConnection.parseResponseHeader(headers); 228 statusCode = statusLine.getStatusCode(); 274 ProtocolVersion version = statusLine.getProtocolVersion(); 279 statusLine.getReasonPhrase());
|
Request.java | 38 import org.apache.http.StatusLine; 244 StatusLine statusLine = null; 251 statusLine = httpClientConnection.parseResponseHeader(header); 252 statusCode = statusLine.getStatusCode(); 256 statusLine.toString().length() + " " + statusLine); 258 ProtocolVersion v = statusLine.getProtocolVersion(); 260 statusCode, statusLine.getReasonPhrase()); 349 mConnection.setCanPersist(entity, statusLine.getProtocolVersion() [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Response.java | 21 import com.squareup.okhttp.internal.http.StatusLine; 48 private final StatusLine statusLine; 61 this.statusLine = builder.statusLine; 86 public String statusLine() { 87 return statusLine.getStatusLine(); 91 return statusLine.code(); 95 return statusLine.message(); 99 return statusLine.httpMinorVersion() [all...] |
HttpResponseCache.java | 390 private final String statusLine; 455 statusLine = source.readUtf8LineStrict(); 484 this.statusLine = response.statusLine(); 500 writer.write(statusLine + '\n'); 561 .statusLine(statusLine)
|
/frameworks/volley/src/com/android/volley/toolbox/ |
BasicNetwork.java | 38 import org.apache.http.StatusLine; 94 StatusLine statusLine = httpResponse.getStatusLine(); 95 int statusCode = statusLine.getStatusCode(); 116 logSlowRequests(requestLifetime, request, responseContents, statusLine); 159 byte[] responseContents, StatusLine statusLine) { 164 statusLine.getStatusCode(), request.getRetryPolicy().getCurrentRetryCount());
|
/frameworks/av/media/libstagefright/rtsp/ |
ARTSPConnection.cpp | 610 AString statusLine; 612 if (!receiveLine(&statusLine)) { 616 if (statusLine == "$") { 635 response->mStatusLine = statusLine;
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.p2.ui.sdk.scheduler_1.0.0.v20100507-1815.jar | |
org.apache.commons.httpclient_3.1.0.v201005080502.jar | |
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/ |
org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar | |
/prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/ |
org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar | |
/prebuilts/tools/common/eclipse/ |
org.eclipse.ui.workbench.texteditor_3.6.1.r361_v20100714-0800.jar | |
/external/robolectric/lib/main/ |
httpclient-4.0.3.jar | |
/external/chromium_org/third_party/libaddressinput/src/java/testlibs/ |
httpclient-4.1.1.jar | |
/external/smack/asmack-master/lib/ |
httpclient-4.1.3.jar | |