Home
last modified time | relevance | path

Searched refs:getStatusLine (Results 1 – 25 of 38) sorted by relevance

12

/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/shadows/httpclient/
DShadowDefaultRequestDirectorTest.java87 assertThat(response.getStatusLine().getStatusCode()).isEqualTo(200); in shouldGetHttpResponseFromExecute()
101 assertThat(response.getStatusLine().getStatusCode()).isEqualTo(200); in shouldPreferPendingResponses()
113 assertThat(response.getStatusLine().getStatusCode()).isEqualTo(200); in shouldReturnRequestsByRule()
126 assertThat(response.getStatusLine().getStatusCode()).isEqualTo(404); in shouldReturnRequestsByRule_MatchingMethod()
136 assertThat(getResponse.getStatusLine().getStatusCode()).isEqualTo(200); in shouldReturnRequestsByRule_AnyMethod()
142 assertThat(postResponse.getStatusLine().getStatusCode()).isEqualTo(200); in shouldReturnRequestsByRule_AnyMethod()
180 assertThat(response.getStatusLine().getStatusCode()).isEqualTo(200); in shouldReturnRequestsByRule_WithTextResponse()
193 assertThat(response.getStatusLine().getStatusCode()).isEqualTo(200); in clearHttpResponseRules_shouldRemoveAllRules()
206 assertThat(response.getStatusLine().getStatusCode()).isEqualTo(500); in clearPendingHttpResponses()
223 assertThat(response.getStatusLine().getStatusCode()).isEqualTo(200); in shouldReturnRequestsByRule_WithCustomRequestMatcher()
[all …]
DAndroidHttpClientTest.java37 assertThat(resp.getStatusLine().getStatusCode()).isEqualTo(200); in testExecute()
/external/apache-http/src/org/apache/http/protocol/
DHttpRequestExecutor.java90 int status = response.getStatusLine().getStatusCode(); in canResponseHaveBody()
228 int status = response.getStatusLine().getStatusCode(); in doSendRequest()
232 "Unexpected response: " + response.getStatusLine()); in doSendRequest()
288 statuscode = response.getStatusLine().getStatusCode(); in doReceiveResponse()
DResponseContent.java77 ProtocolVersion ver = response.getStatusLine().getProtocolVersion(); in process()
97 int status = response.getStatusLine().getStatusCode(); in process()
DResponseConnControl.java76 int status = response.getStatusLine().getStatusCode(); in process()
91 ProtocolVersion ver = response.getStatusLine().getProtocolVersion(); in process()
DResponseDate.java70 int status = response.getStatusLine().getStatusCode(); in process()
/external/volley/src/test/java/com/android/volley/toolbox/
DBaseHttpStackTest.java50 assertEquals(12345, resp.getStatusLine().getStatusCode()); in legacyRequestWithoutBody()
70 assertEquals(12345, resp.getStatusLine().getStatusCode()); in legacyResponseWithBody()
94 assertEquals(12345, resp.getStatusLine().getStatusCode()); in legacyResponseHeaders()
/external/nanohttpd/webserver/src/test/java/fi/iki/elonen/
DTestCorsHttpServer.java100 Assert.assertEquals(200, response.getStatusLine().getStatusCode()); in doTestOption()
128 Assert.assertEquals(200, response.getStatusLine().getStatusCode()); in testAccessControlAllowHeaderUsesDefaultsWithoutSystemProperty()
146 Assert.assertEquals(200, response.getStatusLine().getStatusCode()); in testAccessControlAllowHeaderUsesSystemPropertyWhenSet()
DTestCorsHttpServerWithSingleOrigin.java100 Assert.assertEquals(200, response.getStatusLine().getStatusCode()); in doTestOption()
/external/apache-http/src/org/apache/http/impl/client/
DDefaultRedirectHandler.java86 int statusCode = response.getStatusLine().getStatusCode(); in isRedirectRequested()
109 "Received redirect response " + response.getStatusLine() in getLocationURI()
DBasicResponseHandler.java74 StatusLine statusLine = response.getStatusLine(); in handleResponse()
DDefaultProxyAuthenticationHandler.java63 int status = response.getStatusLine().getStatusCode(); in isAuthenticationRequested()
DDefaultTargetAuthenticationHandler.java63 int status = response.getStatusLine().getStatusCode(); in isAuthenticationRequested()
DDefaultRequestDirector.java752 int status = response.getStatusLine().getStatusCode(); in createTunnelToTarget()
755 response.getStatusLine()); in createTunnelToTarget()
803 int status = response.getStatusLine().getStatusCode(); in createTunnelToTarget()
815 response.getStatusLine(), response); in createTunnelToTarget()
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/
DHttpMethodResponse.java70 return httpResponse.getStatusLine().getStatusCode(); in getStatusCode()
122 String value = httpResponse.getStatusLine().toString(); in dump()
/external/apache-http/src/org/apache/http/
DHttpResponse.java62 StatusLine getStatusLine(); in getStatusLine() method
/external/apache-http/src/org/apache/http/impl/io/
DHttpResponseWriter.java61 (this.lineBuf, ((HttpResponse) message).getStatusLine()); in writeHeadLine()
/external/volley/src/main/java/com/android/volley/toolbox/
DAdaptedHttpStack.java55 int statusCode = apacheResp.getStatusLine().getStatusCode(); in executeRequest()
/external/nanohttpd/core/src/test/java/fi/iki/elonen/
DSSLServerSocketFactoryTest.java60 Assert.assertEquals(200, response.getStatusLine().getStatusCode()); in testSSLConnection()
DHttpSSLServerTest.java59 Assert.assertEquals(200, response.getStatusLine().getStatusCode()); in testSSLConnection()
/external/apache-http/src/org/apache/http/impl/
DDefaultConnectionReuseStrategy.java104 ProtocolVersion ver = response.getStatusLine().getProtocolVersion(); in keepAlive()
/external/nanohttpd/fileupload/src/test/java/fi/iki/elonen/
DTestNanoFileUpLoad.java172 Assert.assertEquals(200, response.getStatusLine().getStatusCode()); in testNormalRequest()
221 Assert.assertEquals(200, response.getStatusLine().getStatusCode()); in executeUpload()
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DHttpResponseStub.java13 @Override public StatusLine getStatusLine() { in getStatusLine() method in HttpResponseStub
DDefaultRequestDirector.java784 int status = response.getStatusLine().getStatusCode(); in createTunnelToTarget()
787 response.getStatusLine()); in createTunnelToTarget()
835 int status = response.getStatusLine().getStatusCode(); // can't be null in createTunnelToTarget()
847 response.getStatusLine(), response); in createTunnelToTarget()
/external/apache-http/src/org/apache/http/message/
DBasicHttpResponse.java124 public StatusLine getStatusLine() { in getStatusLine() method in BasicHttpResponse

12