/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/main/java/com/android/volley/toolbox/ |
BaseHttpStack.java | 28 import org.apache.http.StatusLine; 71 StatusLine statusLine = 74 BasicHttpResponse apacheResponse = 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...] |
/build/soong/ui/terminal/ |
writer.go | 48 StatusLine(str string) 51 // similarly to StatusLine(), then prints the full msg below that. The 136 func (w *writerImpl) StatusLine(str string) { 140 w.statusLine(str) 143 func (w *writerImpl) statusLine(str string) { 182 w.statusLine(status)
|
/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-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/ |
TestHttpResponse.java | 18 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 | 33 import org.apache.http.StatusLine; 200 StatusLine statusLine = null; 226 statusLine = proxyConnection.parseResponseHeader(headers); 227 statusCode = statusLine.getStatusCode(); 273 ProtocolVersion version = statusLine.getProtocolVersion(); 278 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/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/internal/huc/ |
JavaApiConverter.java | 31 import com.android.okhttp.internal.http.StatusLine; 99 StatusLine statusLine = StatusLine.parse(extractStatusLine(httpUrlConnection)); 100 okResponseBuilder.protocol(statusLine.protocol); 101 okResponseBuilder.code(statusLine.code); 102 okResponseBuilder.message(statusLine.message); 226 StatusLine statusLine = StatusLine.parse(extractStatusLine(javaResponse)) [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) {
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/ |
Http2xStream.java | 246 StatusLine statusLine = StatusLine.parse(version + " " + status); 249 .code(statusLine.code) 250 .message(statusLine.message) 271 StatusLine statusLine = StatusLine.parse("HTTP/1.1 " + status); 274 .code(statusLine.code) 275 .message(statusLine.message [all...] |
Http1xStream.java | 40 import static com.android.okhttp.internal.http.StatusLine.HTTP_CONTINUE; 188 StatusLine statusLine = StatusLine.parse(source.readUtf8LineStrict()); 191 .protocol(statusLine.protocol) 192 .code(statusLine.code) 193 .message(statusLine.message) 196 if (statusLine.code != HTTP_CONTINUE) {
|
/frameworks/av/media/libstagefright/rtsp/ |
ARTSPConnection.cpp | 611 AString statusLine; 613 if (!receiveLine(&statusLine)) { 617 if (statusLine == "$") { 636 response->mStatusLine = statusLine;
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Cache.java | 26 import com.squareup.okhttp.internal.http.StatusLine; 539 StatusLine statusLine = StatusLine.parse(source.readUtf8LineStrict()); 540 protocol = statusLine.protocol; 541 code = statusLine.code; 542 message = statusLine.message; 594 sink.writeUtf8(new StatusLine(protocol, code, message).toString());
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
Cache.java | 27 import com.android.okhttp.internal.http.StatusLine; 541 StatusLine statusLine = StatusLine.parse(source.readUtf8LineStrict()); 542 protocol = statusLine.protocol; 543 code = statusLine.code; 544 message = statusLine.message; 596 sink.writeUtf8(new StatusLine(protocol, code, message).toString());
|
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/ |
OkHttpClientTransport.java | 32 import com.squareup.okhttp.internal.http.StatusLine; 563 StatusLine statusLine = StatusLine.parse(readUtf8LineStrictUnbuffered(source)); 566 if (statusLine.code < 200 || statusLine.code >= 300) { 582 statusLine.code, statusLine.message, body.readUtf8()); [all...] |
/external/bcc/tests/lua/ |
luaunit.lua | [all...] |
/external/owasp/sanitizer/tools/findbugs/lib/ |
findbugs.jar | |