/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());
|
/external/volley/src/test/java/com/android/volley/mock/ |
MockHttpClient.java | 25 import org.apache.http.StatusLine; 58 StatusLine statusLine = new BasicStatusLine( 60 HttpResponse response = new BasicHttpResponse(statusLine);
|
/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 | 31 StatusLine statusLine = StatusLine.parse("HTTP/1." + version + " " + code + " " + message); 32 assertEquals(message, statusLine.message); 33 assertEquals(Protocol.HTTP_1_1, statusLine.protocol); 34 assertEquals(code, statusLine.code); 40 StatusLine statusLine = StatusLine.parse("HTTP/1." + version + " " + code + " "); 41 assertEquals("", statusLine.message) [all...] |
/external/robolectric/v1/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;
|
/external/apache-http/android/src/android/net/http/ |
HttpsConnection.java | 31 import org.apache.http.StatusLine; 198 StatusLine statusLine = null; 224 statusLine = proxyConnection.parseResponseHeader(headers); 225 statusCode = statusLine.getStatusCode(); 271 ProtocolVersion version = statusLine.getProtocolVersion(); 276 statusLine.getReasonPhrase());
|
Request.java | 38 import org.apache.http.StatusLine; 242 StatusLine statusLine = null; 249 statusLine = httpClientConnection.parseResponseHeader(header); 250 statusCode = statusLine.getStatusCode(); 254 statusLine.toString().length() + " " + statusLine); 256 ProtocolVersion v = statusLine.getProtocolVersion(); 258 statusCode, statusLine.getReasonPhrase()); 347 mConnection.setCanPersist(entity, statusLine.getProtocolVersion() [all...] |
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/ |
JavaApiConverter.java | 30 import com.squareup.okhttp.internal.http.StatusLine; 97 StatusLine statusLine = StatusLine.parse(extractStatusLine(httpUrlConnection)); 98 okResponseBuilder.protocol(statusLine.protocol); 99 okResponseBuilder.code(statusLine.code); 100 okResponseBuilder.message(statusLine.message); 224 StatusLine statusLine = StatusLine.parse(extractStatusLine(javaResponse)) [all...] |
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
CacheAdapterTest.java | 127 final String statusLine = "HTTP/1.1 200 Fantastic"; 131 .setStatus(statusLine) 153 assertEquals(statusLine, httpUrlConnection.getHeaderField(null)); 168 final String statusLine = "HTTP/1.1 200 Fantastic"; 171 .setStatus(statusLine) 192 assertEquals(statusLine, httpUrlConnection.getHeaderField(null));
|
JavaApiConverterTest.java | 103 final String statusLine = "HTTP/1.1 200 Fantastic"; 109 headers.put(null, Collections.singletonList(statusLine)); 159 final String statusLine = "HTTP/1.1 200 Fantastic"; 169 headers.put(null, Collections.singletonList(statusLine)); 593 javaResponseHeaders.put(null, Arrays.asList("StatusLine")); 605 javaResponseHeaders.put(null, Arrays.asList("StatusLine")); 608 assertEquals("StatusLine", JavaApiConverter.extractStatusLine(javaResponseHeaders));
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
BasicNetwork.java | 40 import org.apache.http.StatusLine; 98 StatusLine statusLine = httpResponse.getStatusLine(); 99 int statusCode = statusLine.getStatusCode(); 133 logSlowRequests(requestLifetime, request, responseContents, statusLine); 187 byte[] responseContents, StatusLine statusLine) { 192 statusLine.getStatusCode(), request.getRetryPolicy().getCurrentRetryCount());
|
/libcore/ojluni/src/main/java/java/net/ |
HttpURLConnection.java | 695 String statusLine = getHeaderField(0); 696 if (statusLine == null) { 714 if (statusLine.startsWith("HTTP/1.")) { 715 int codePos = statusLine.indexOf(' '); 718 int phrasePos = statusLine.indexOf(' ', codePos+1); 719 if (phrasePos > 0 && phrasePos < statusLine.length()) { 720 responseMessage = statusLine.substring(phrasePos+1); 726 phrasePos = statusLine.length(); 730 (statusLine.substring(codePos+1, phrasePos)); [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
Http2xStream.java | 244 StatusLine statusLine = StatusLine.parse(version + " " + status); 247 .code(statusLine.code) 248 .message(statusLine.message) 269 StatusLine statusLine = StatusLine.parse("HTTP/1.1 " + status); 272 .code(statusLine.code) 273 .message(statusLine.message [all...] |
Http1xStream.java | 39 import static com.squareup.okhttp.internal.http.StatusLine.HTTP_CONTINUE; 186 StatusLine statusLine = StatusLine.parse(source.readUtf8LineStrict()); 189 .protocol(statusLine.protocol) 190 .code(statusLine.code) 191 .message(statusLine.message) 194 if (statusLine.code != HTTP_CONTINUE) {
|
/frameworks/av/media/libstagefright/rtsp/ |
ARTSPConnection.cpp | 610 AString statusLine; 612 if (!receiveLine(&statusLine)) { 616 if (statusLine == "$") { 635 response->mStatusLine = statusLine;
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Cache.java | 26 import com.squareup.okhttp.internal.http.StatusLine; 538 StatusLine statusLine = StatusLine.parse(source.readUtf8LineStrict()); 539 protocol = statusLine.protocol; 540 code = statusLine.code; 541 message = statusLine.message; 593 sink.writeUtf8(new StatusLine(protocol, code, message).toString());
|
/prebuilts/go/darwin-x86/src/net/http/ |
server.go | [all...] |
/prebuilts/go/linux-x86/src/net/http/ |
server.go | [all...] |
/external/robolectric/v3/ |
shadows-httpclient-3.1-SNAPSHOT.jar | |
/prebuilts/tools/common/m2/repository/com/firebase/tubesock/0.0.12/ |
tubesock-0.0.12.jar | |
/prebuilts/misc/common/robolectric/lib/ |
shadows-httpclient-3.1.1.jar | |
/prebuilts/tools/common/m2/repository/com/mcxiaoke/volley/library/1.0.10/ |
library-1.0.10.jar | |
/prebuilts/tools/common/m2/repository/com/mcxiaoke/volley/library/1.0.18/ |
library-1.0.18.jar | |
/prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.7.2/ |
okhttp-2.7.2.jar | |