Home
last modified time | relevance | path

Searched refs:statusLine (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DHttpURLConnection.java695 String statusLine = getHeaderField(0); in getResponseCode() local
696 if (statusLine == null) { in getResponseCode()
714 if (statusLine.startsWith("HTTP/1.")) { in getResponseCode()
715 int codePos = statusLine.indexOf(' '); in getResponseCode()
718 int phrasePos = statusLine.indexOf(' ', codePos+1); in getResponseCode()
719 if (phrasePos > 0 && phrasePos < statusLine.length()) { in getResponseCode()
720 responseMessage = statusLine.substring(phrasePos+1); in getResponseCode()
726 phrasePos = statusLine.length(); in getResponseCode()
730 (statusLine.substring(codePos+1, phrasePos)); in getResponseCode()