Home
last modified time | relevance | path

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

/external/apache-http/src/org/apache/http/message/
DBasicHttpResponse.java61 private StatusLine statusline; field in BasicHttpResponse
78 public BasicHttpResponse(final StatusLine statusline, in BasicHttpResponse() argument
82 if (statusline == null) { in BasicHttpResponse()
85 this.statusline = statusline; in BasicHttpResponse()
97 public BasicHttpResponse(final StatusLine statusline) { in BasicHttpResponse() argument
98 this(statusline, null, null); in BasicHttpResponse()
120 return this.statusline.getProtocolVersion(); in getProtocolVersion()
125 return this.statusline; in getStatusLine()
139 public void setStatusLine(final StatusLine statusline) { in setStatusLine() argument
140 if (statusline == null) { in setStatusLine()
[all …]
/external/apache-http/src/org/apache/http/impl/
DDefaultHttpResponseFactory.java98 StatusLine statusline = new BasicStatusLine(ver, status, reason); in newHttpResponse() local
99 return new BasicHttpResponse(statusline, reasonCatalog, loc); in newHttpResponse()
104 public HttpResponse newHttpResponse(final StatusLine statusline, in newHttpResponse() argument
106 if (statusline == null) { in newHttpResponse()
110 return new BasicHttpResponse(statusline, reasonCatalog, loc); in newHttpResponse()
/external/apache-http/src/org/apache/http/impl/io/
DHttpResponseParser.java83 StatusLine statusline = lineParser.parseStatusLine(this.lineBuf, cursor); in parseHead() local
84 return this.responseFactory.newHttpResponse(statusline, null); in parseHead()
/external/apache-http/src/org/apache/http/impl/conn/
DDefaultResponseParser.java105 StatusLine statusline = lineParser.parseStatusLine(this.lineBuf, cursor); in parseHead() local
106 return this.responseFactory.newHttpResponse(statusline, null); in parseHead()
/external/apache-http/android/src/android/net/http/
DAndroidHttpClientConnection.java307 StatusLine statusline = BasicLineParser.DEFAULT.parseStatusLine( in parseResponseHeader() local
310 if (HttpLog.LOGV) HttpLog.v("read: " + statusline); in parseResponseHeader()
311 int statusCode = statusline.getStatusCode(); in parseResponseHeader()
371 return statusline; in parseResponseHeader()
/external/python/httplib2/python3/httplib2/
Dsocks.py454 statusline = resp.splitlines()[0].split(" ".encode(), 2)
455 if statusline[0] not in ("HTTP/1.0".encode(), "HTTP/1.1".encode()):
459 statuscode = int(statusline[1])
465 raise HTTPError((statuscode, statusline[2]))
/external/python/httplib2/python2/httplib2/
Dsocks.py454 statusline = resp.splitlines()[0].split(" ".encode(), 2)
455 if statusline[0] not in ("HTTP/1.0".encode(), "HTTP/1.1".encode()):
459 statuscode = int(statusline[1])
465 raise HTTPError((statuscode, statusline[2]))
/external/apache-http/src/org/apache/http/
DHttpResponseFactory.java78 HttpResponse newHttpResponse(StatusLine statusline, in newHttpResponse() argument
DHttpResponse.java69 void setStatusLine(StatusLine statusline); in setStatusLine() argument
/external/curl/lib/
Dhttp.c3006 } statusline; typedef
3021 static statusline
3026 statusline rc = STATUS_BAD; in checkhttpprefix()
3027 statusline onmatch = len >= 5? STATUS_DONE : STATUS_UNKNOWN; in checkhttpprefix()
3061 static statusline
3065 statusline result = STATUS_BAD; in checkrtspprefix()
3066 statusline onmatch = len >= 5? STATUS_DONE : STATUS_UNKNOWN; in checkrtspprefix()
3092 static statusline
3180 statusline st = in Curl_http_readwrite_headers()
3219 statusline st = checkprotoprefix(data, conn, in Curl_http_readwrite_headers()
[all …]