/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | StatusLine.java | 29 public static StatusLine parse(String statusLine) throws IOException { in parse() argument 36 if (statusLine.startsWith("HTTP/1.")) { in parse() 37 if (statusLine.length() < 9 || statusLine.charAt(8) != ' ') { in parse() 38 throw new ProtocolException("Unexpected status line: " + statusLine); in parse() 40 int httpMinorVersion = statusLine.charAt(7) - '0'; in parse() 47 throw new ProtocolException("Unexpected status line: " + statusLine); in parse() 49 } else if (statusLine.startsWith("ICY ")) { in parse() 54 throw new ProtocolException("Unexpected status line: " + statusLine); in parse() 58 if (statusLine.length() < codeStart + 3) { in parse() 59 throw new ProtocolException("Unexpected status line: " + statusLine); in parse() [all …]
|
D | HttpConnection.java | 191 StatusLine statusLine = StatusLine.parse(source.readUtf8LineStrict()); in readResponse() local 194 .protocol(statusLine.protocol) in readResponse() 195 .code(statusLine.code) in readResponse() 196 .message(statusLine.message); in readResponse() 200 headersBuilder.add(OkHeaders.SELECTED_PROTOCOL, statusLine.protocol.toString()); in readResponse() 203 if (statusLine.code != HTTP_CONTINUE) { in readResponse()
|
D | SpdyTransport.java | 199 StatusLine statusLine = StatusLine.parse(version + " " + status); in readNameValueBlock() local 202 .code(statusLine.code) in readNameValueBlock() 203 .message(statusLine.message) in readNameValueBlock()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | StatusLineTest.java | 31 StatusLine statusLine = StatusLine.parse("HTTP/1." + version + " " + code + " " + message); in parse() local 32 assertEquals(message, statusLine.message); in parse() 33 assertEquals(Protocol.HTTP_1_1, statusLine.protocol); in parse() 34 assertEquals(code, statusLine.code); in parse() 40 StatusLine statusLine = StatusLine.parse("HTTP/1." + version + " " + code + " "); in emptyMessage() local 41 assertEquals("", statusLine.message); in emptyMessage() 42 assertEquals(Protocol.HTTP_1_1, statusLine.protocol); in emptyMessage() 43 assertEquals(code, statusLine.code); in emptyMessage() 54 StatusLine statusLine = StatusLine.parse("HTTP/1." + version + " " + code); in emptyMessageAndNoLeadingSpace() local 55 assertEquals("", statusLine.message); in emptyMessageAndNoLeadingSpace() [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
D | SIPResponse.java | 74 protected StatusLine statusLine; field in SIPResponse 312 if (this.statusLine == null) in setStatusCode() 313 this.statusLine = new StatusLine(); in setStatusCode() 314 this.statusLine.setStatusCode(statusCode); in setStatusCode() 322 return statusLine; in getStatusLine() 329 return statusLine.getStatusCode(); in getStatusCode() 339 if (this.statusLine == null) in setReasonPhrase() 340 this.statusLine = new StatusLine(); in setReasonPhrase() 341 this.statusLine.setReasonPhrase(reasonPhrase); in setReasonPhrase() 348 if (statusLine == null || statusLine.getReasonPhrase() == null) in getReasonPhrase() [all …]
|
D | MessageFactoryImpl.java | 296 StatusLine statusLine = new StatusLine(); in createResponse() local 297 statusLine.setStatusCode(statusCode); in createResponse() 301 statusLine.setReasonPhrase(reasonPhrase); in createResponse() 302 sipResponse.setStatusLine(statusLine); in createResponse() 607 StatusLine statusLine = new StatusLine(); in createResponse() local 608 statusLine.setStatusCode(statusCode); in createResponse() 612 statusLine.setReasonPhrase(reason); in createResponse() 613 sipResponse.setStatusLine(statusLine); in createResponse() 663 StatusLine statusLine = new StatusLine(); in createResponse() local 664 statusLine.setStatusCode(statusCode); in createResponse() [all …]
|
/external/apache-http/src/org/apache/http/impl/client/ |
D | BasicResponseHandler.java | 74 StatusLine statusLine = response.getStatusLine(); in handleResponse() local 75 if (statusLine.getStatusCode() >= 300) { in handleResponse() 76 throw new HttpResponseException(statusLine.getStatusCode(), in handleResponse() 77 statusLine.getReasonPhrase()); in handleResponse()
|
/external/apache-http/android/src/android/net/http/ |
D | Request.java | 242 StatusLine statusLine = null; in readResponse() 249 statusLine = httpClientConnection.parseResponseHeader(header); in readResponse() 250 statusCode = statusLine.getStatusCode(); in readResponse() 254 statusLine.toString().length() + " " + statusLine); in readResponse() 256 ProtocolVersion v = statusLine.getProtocolVersion(); in readResponse() 258 statusCode, statusLine.getReasonPhrase()); in readResponse() 347 mConnection.setCanPersist(entity, statusLine.getProtocolVersion(), in readResponse()
|
D | HttpsConnection.java | 197 StatusLine statusLine = null; in openConnection() local 223 statusLine = proxyConnection.parseResponseHeader(headers); in openConnection() 224 statusCode = statusLine.getStatusCode(); in openConnection() 270 ProtocolVersion version = statusLine.getProtocolVersion(); in openConnection() 275 statusLine.getReasonPhrase()); in openConnection()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | CacheAdapterTest.java | 135 final String statusLine = "HTTP/1.1 200 Fantastic"; in put_httpGet() local 139 .setStatus(statusLine) in put_httpGet() 161 assertEquals(statusLine, httpUrlConnection.getHeaderField(null)); in put_httpGet() 176 final String statusLine = "HTTP/1.1 200 Fantastic"; in put_httpPost() local 179 .setStatus(statusLine) in put_httpPost() 200 assertEquals(statusLine, httpUrlConnection.getHeaderField(null)); in put_httpPost()
|
D | JavaApiConverterTest.java | 103 final String statusLine = "HTTP/1.1 200 Fantastic"; in createOkResponseForCacheGet() local 109 headers.put(null, Collections.singletonList(statusLine)); in createOkResponseForCacheGet() 159 final String statusLine = "HTTP/1.1 200 Fantastic"; in createOkResponseForCacheGet_secure() local 169 headers.put(null, Collections.singletonList(statusLine)); in createOkResponseForCacheGet_secure()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | StatusLineParser.java | 41 public StatusLineParser(String statusLine) { in StatusLineParser() argument 42 this.lexer = new Lexer("status_lineLexer", statusLine); in StatusLineParser()
|
D | StringMsgParser.java | 608 public StatusLine parseSIPStatusLine(String statusLine) in parseSIPStatusLine() argument 610 statusLine += "\n"; in parseSIPStatusLine() 611 return new StatusLineParser(statusLine).parse(); in parseSIPStatusLine()
|
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/ |
D | JavaApiConverter.java | 97 StatusLine statusLine = StatusLine.parse(extractStatusLine(httpUrlConnection)); in createOkResponseForCachePut() local 98 okResponseBuilder.protocol(statusLine.protocol); in createOkResponseForCachePut() 99 okResponseBuilder.code(statusLine.code); in createOkResponseForCachePut() 100 okResponseBuilder.message(statusLine.message); in createOkResponseForCachePut() 224 StatusLine statusLine = StatusLine.parse(extractStatusLine(javaResponse)); in createOkResponseForCacheGet() local 225 okResponseBuilder.protocol(statusLine.protocol); in createOkResponseForCacheGet() 226 okResponseBuilder.code(statusLine.code); in createOkResponseForCacheGet() 227 okResponseBuilder.message(statusLine.message); in createOkResponseForCacheGet()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Cache.java | 517 StatusLine statusLine = StatusLine.parse(source.readUtf8LineStrict()); in Entry() local 518 protocol = statusLine.protocol; in Entry() 519 code = statusLine.code; in Entry() 520 message = statusLine.message; in Entry()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
D | TestHttpResponse.java | 26 private TestStatusLine statusLine = new TestStatusLine(); field in TestHttpResponse 57 return statusLine; in getStatusLine()
|
D | HttpResponseStub.java | 19 @Override public void setStatusLine(StatusLine statusLine) { in setStatusLine() argument
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | HeaderFactoryExt.java | 54 public SipStatusLine createStatusLine(String statusLine) throws ParseException; in createStatusLine() argument
|
D | HeaderFactoryImpl.java | 1665 public SipStatusLine createStatusLine(String statusLine) throws ParseException { in createStatusLine() argument 1666 StatusLineParser statusLineParser = new StatusLineParser(statusLine); in createStatusLine()
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
D | org.eclipse.equinox.p2.ui.sdk.scheduler_1.0.0.v20100507-1815.jar | META-INF/MANIFEST.MF
META-INF/ECLIPSEF.SF
META-INF/ECLIPSEF ... |
D | org.apache.commons.httpclient_3.1.0.v201005080502.jar | META-INF/MANIFEST.MF
META-INF/ECLIPSEF.SF
META-INF/ECLIPSEF ... |
D | org.eclipse.jface_3.6.1.M20100825-0800.jar | META-INF/MANIFEST.MF
META-INF/ECLIPSEF.SF
META-INF/ECLIPSEF ... |
D | org.eclipse.ui.workbench_3.6.1.M20101117-0800.jar | META-INF/MANIFEST.MF
META-INF/ECLIPSEF.SF
META-INF/ECLIPSEF ... |
D | org.eclipse.ui.ide_3.6.2.M20101117-0800.jar | META-INF/MANIFEST.MF
META-INF/ECLIPSEF.SF
META-INF/ECLIPSEF ... |
/external/robolectric/lib/main/ |
D | httpclient-4.0.3.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/apache/
org/ ... |