/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/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/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 | Http2xStream.java | 244 StatusLine statusLine = StatusLine.parse(version + " " + status); in readSpdy3HeadersList() local 247 .code(statusLine.code) in readSpdy3HeadersList() 248 .message(statusLine.message) in readSpdy3HeadersList() 269 StatusLine statusLine = StatusLine.parse("HTTP/1.1 " + status); in readHttp2HeadersList() local 272 .code(statusLine.code) in readHttp2HeadersList() 273 .message(statusLine.message) in readHttp2HeadersList()
|
D | Http1xStream.java | 186 StatusLine statusLine = StatusLine.parse(source.readUtf8LineStrict()); in readResponse() local 189 .protocol(statusLine.protocol) in readResponse() 190 .code(statusLine.code) in readResponse() 191 .message(statusLine.message) in readResponse() 194 if (statusLine.code != HTTP_CONTINUE) { in readResponse()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/ |
D | StatusLine.java | 31 public static StatusLine parse(String statusLine) throws IOException { in parse() argument 38 if (statusLine.startsWith("HTTP/1.")) { in parse() 39 if (statusLine.length() < 9 || statusLine.charAt(8) != ' ') { in parse() 40 throw new ProtocolException("Unexpected status line: " + statusLine); in parse() 42 int httpMinorVersion = statusLine.charAt(7) - '0'; in parse() 49 throw new ProtocolException("Unexpected status line: " + statusLine); in parse() 51 } else if (statusLine.startsWith("ICY ")) { in parse() 56 throw new ProtocolException("Unexpected status line: " + statusLine); in parse() 60 if (statusLine.length() < codeStart + 3) { in parse() 61 throw new ProtocolException("Unexpected status line: " + statusLine); in parse() [all …]
|
D | Http2xStream.java | 246 StatusLine statusLine = StatusLine.parse(version + " " + status); in readSpdy3HeadersList() local 249 .code(statusLine.code) in readSpdy3HeadersList() 250 .message(statusLine.message) in readSpdy3HeadersList() 271 StatusLine statusLine = StatusLine.parse("HTTP/1.1 " + status); in readHttp2HeadersList() local 274 .code(statusLine.code) in readHttp2HeadersList() 275 .message(statusLine.message) in readHttp2HeadersList()
|
D | Http1xStream.java | 188 StatusLine statusLine = StatusLine.parse(source.readUtf8LineStrict()); in readResponse() local 191 .protocol(statusLine.protocol) in readResponse() 192 .code(statusLine.code) in readResponse() 193 .message(statusLine.message) in readResponse() 196 if (statusLine.code != HTTP_CONTINUE) { in readResponse()
|
/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 | 200 StatusLine statusLine = null; in openConnection() local 226 statusLine = proxyConnection.parseResponseHeader(headers); in openConnection() 227 statusCode = statusLine.getStatusCode(); in openConnection() 273 ProtocolVersion version = statusLine.getProtocolVersion(); in openConnection() 278 statusLine.getReasonPhrase()); in openConnection()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | CacheAdapterTest.java | 127 final String statusLine = "HTTP/1.1 200 Fantastic"; in put_httpGet() local 131 .setStatus(statusLine) in put_httpGet() 153 assertEquals(statusLine, httpUrlConnection.getHeaderField(null)); in put_httpGet() 168 final String statusLine = "HTTP/1.1 200 Fantastic"; in put_httpPost() local 171 .setStatus(statusLine) in put_httpPost() 192 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/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/internal/huc/ |
D | JavaApiConverter.java | 99 StatusLine statusLine = StatusLine.parse(extractStatusLine(httpUrlConnection)); in createOkResponseForCachePut() local 100 okResponseBuilder.protocol(statusLine.protocol); in createOkResponseForCachePut() 101 okResponseBuilder.code(statusLine.code); in createOkResponseForCachePut() 102 okResponseBuilder.message(statusLine.message); in createOkResponseForCachePut() 226 StatusLine statusLine = StatusLine.parse(extractStatusLine(javaResponse)); in createOkResponseForCacheGet() local 227 okResponseBuilder.protocol(statusLine.protocol); in createOkResponseForCacheGet() 228 okResponseBuilder.code(statusLine.code); in createOkResponseForCacheGet() 229 okResponseBuilder.message(statusLine.message); in createOkResponseForCacheGet()
|
/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/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/volley/src/main/java/com/android/volley/toolbox/ |
D | BaseHttpStack.java | 71 StatusLine statusLine = in performRequest() local 74 BasicHttpResponse apacheResponse = new BasicHttpResponse(statusLine); in performRequest()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Cache.java | 539 StatusLine statusLine = StatusLine.parse(source.readUtf8LineStrict()); in Entry() local 540 protocol = statusLine.protocol; in Entry() 541 code = statusLine.code; in Entry() 542 message = statusLine.message; in Entry()
|
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/ |
D | TestHttpResponse.java | 26 private TestStatusLine statusLine = new TestStatusLine(); field in TestHttpResponse 57 return statusLine; in getStatusLine()
|
D | HttpResponseStub.java | 18 @Override public void setStatusLine(StatusLine statusLine) { in setStatusLine() argument
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
D | Cache.java | 541 StatusLine statusLine = StatusLine.parse(source.readUtf8LineStrict()); in Entry() local 542 protocol = statusLine.protocol; in Entry() 543 code = statusLine.code; in Entry() 544 message = statusLine.message; in Entry()
|
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/ |
D | OkHttpClientTransport.java | 563 StatusLine statusLine = StatusLine.parse(readUtf8LineStrictUnbuffered(source)); in createHttpProxySocket() local 566 if (statusLine.code < 200 || statusLine.code >= 300) { in createHttpProxySocket() 582 statusLine.code, statusLine.message, body.readUtf8()); in createHttpProxySocket()
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | HeaderFactoryExt.java | 54 public SipStatusLine createStatusLine(String statusLine) throws ParseException; in createStatusLine() argument
|