Home
last modified time | relevance | path

Searched refs:getStatusCode (Results 1 – 25 of 79) sorted by relevance

1234

/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 …]
/external/volley/src/test/java/com/android/volley/toolbox/
DAdaptedHttpStackTest.java61 when(mStatusLine.getStatusCode()).thenReturn(12345); in emptyResponse()
67 assertEquals(12345, response.getStatusCode()); in emptyResponse()
75 when(mStatusLine.getStatusCode()).thenReturn(12345); in nonEmptyResponse()
84 assertEquals(12345, response.getStatusCode()); in nonEmptyResponse()
93 when(mStatusLine.getStatusCode()).thenReturn(12345); in responseTooBig()
105 when(mStatusLine.getStatusCode()).thenReturn(12345); in responseWithHeaders()
118 assertEquals(12345, response.getStatusCode()); in responseWithHeaders()
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/nist-sip/java/gov/nist/javax/sip/message/
DSIPResponse.java328 public int getStatusCode() { in getStatusCode() method in SIPResponse
329 return statusLine.getStatusCode(); in getStatusCode()
366 return isFinalResponse(statusLine.getStatusCode()); in isFinalResponse()
425 if (getStatusCode() > 699) { in checkHeaders()
426 throw new ParseException("Unknown error code!" + getStatusCode(), 0); in checkHeaders()
629 if (statusLine.getStatusCode() >= 300 ) { in setBranch()
/external/oauth/core/src/main/java/net/oauth/http/
DHttpResponseMessage.java38 into.put(STATUS_CODE, Integer.valueOf(getStatusCode())); in dump()
45 public abstract int getStatusCode() throws IOException; in getStatusCode() method in HttpResponseMessage
DHttpMessageDecoder.java93 public int getStatusCode() throws IOException { in getStatusCode() method in HttpMessageDecoder
94 return in.getStatusCode(); in getStatusCode()
/external/apache-http/src/org/apache/http/impl/client/
DBasicResponseHandler.java75 if (statusLine.getStatusCode() >= 300) { in handleResponse()
76 throw new HttpResponseException(statusLine.getStatusCode(), in handleResponse()
/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()
/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()
288 statuscode = response.getStatusLine().getStatusCode(); in doReceiveResponse()
/external/nist-sip/java/gov/nist/javax/sip/
DEventScanner.java182 ( tx.getLastResponse().getStatusCode()/100 == 2 || in deliverEvent()
301 … && (sipResponse.getStatusCode() == Response.CALL_OR_TRANSACTION_DOES_NOT_EXIST || sipResponse in deliverEvent()
302 .getStatusCode() == Response.REQUEST_TIMEOUT)) { in deliverEvent()
330 && sipResponse.getStatusCode() == 200) { in deliverEvent()
DNistSipMessageFactoryImpl.java123 && sipResponse.getStatusCode() / 100 == 1) { in newSIPServerResponse()
127 + sipResponse.getStatusCode()); in newSIPServerResponse()
DDialogFilter.java829 && lastTransaction.getLastResponse().getStatusCode() == 200 in processRequest()
1167 if (response.getStatusCode() / 100 != 2) { in processResponse()
1242 if (dialog != null && response.getStatusCode() != 100) { in processResponse()
1340 if (sipStack.isDialogCreated(method) && sipResponse.getStatusCode() != 100 in processResponse()
1362 if (sipResponse.getStatusCode() / 100 != 2) { in processResponse()
1366 + sipResponse.getStatusCode()); in processResponse()
1374 if (sipResponse.getStatusCode() / 100 == 2 in processResponse()
1420 if (sipDialog != null && sipResponse.getStatusCode() != 100 in processResponse()
/external/apache-http/src/org/apache/http/message/
DBasicHttpResponse.java175 this.statusline.getStatusCode(), in setReasonPhrase()
190 final int code = this.statusline.getStatusCode(); in setLocale()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPClientTransaction.java511 && transactionResponse.getStatusCode() / 100 == 1) { in processResponse()
608 int statusCode = transactionResponse.getStatusCode(); in nonInviteClientTransaction()
725 int statusCode = transactionResponse.getStatusCode(); in inviteClientTransaction()
1133 } else if (lastResponse.getStatusCode() < 200) { in createAck()
1150 && lastResponse.getStatusCode() / 100 != 3) { in createAck()
1221 } else if (lastResponse.getStatusCode() < 200) { in createErrorAck()
1378 int code = sipResponse.getStatusCode(); in processResponse()
1464 && this.lastResponse.getStatusCode() != 100) { in getDialog()
DSIPServerTransaction.java884 statusCode = transactionResponse.getStatusCode(); in sendMessage()
1121 if (lastResponse.getStatusCode() / 100 > 2 && !this.isAckSeen) in fireRetransmissionTimer()
1257 if (this.getMethod().equals(Request.SUBSCRIBE) && response.getStatusCode() / 100 == 2) { in sendResponse()
1278 if (sipResponse.getStatusCode() == 200 in sendResponse()
1300 && response.getStatusCode() / 100 == 2 in sendResponse()
1325 if (sipResponse.getStatusCode() / 100 == 2 in sendResponse()
1368 if (dialog != null && response.getStatusCode() != 100) { in sendResponse()
1385 && response.getStatusCode() / 100 == 2) { in sendResponse()
/external/oauth/core/src/main/java/net/oauth/client/
DURLConnectionResponse.java59 public int getStatusCode() throws IOException { in getStatusCode() method in URLConnectionResponse
114 String firstLine = "HTTP " + getStatusCode(); in dump()
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/
DHttpMethodResponse.java68 public int getStatusCode() in getStatusCode() method in HttpMethodResponse
70 return httpResponse.getStatusLine().getStatusCode(); in getStatusCode()
/external/apache-http/src/org/apache/http/
DStatusLine.java56 int getStatusCode(); in getStatusCode() method
/external/apache-http/src/org/apache/http/client/
DHttpResponseException.java52 public int getStatusCode() { in getStatusCode() method in HttpResponseException
/external/nist-sip/java/gov/nist/javax/sip/header/
DSipStatusLine.java18 public abstract int getStatusCode(); in getStatusCode() method
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DStatusLineStub.java11 @Override public int getStatusCode() { in getStatusCode() method in StatusLineStub
/external/ims/rcs/rcsservice/src/com/android/service/ims/
DRcsStackAdaptor.java313 ret = RcsUtils.statusCodeToResultCode(retCode.getStatusCode()); in requestCapability()
335 ret = RcsUtils.statusCodeToResultCode(retCode.getStatusCode()); in requestAvailability()
429 logger.print("PublishMyCap status=" + status.getStatusCode()); in requestPublication()
430 ret = RcsUtils.statusCodeToResultCode(status.getStatusCode()); in requestPublication()
/external/grpc-grpc/src/php/tests/qps/generated_code/Grpc/Testing/
DRequestResultCount.php34 public function getStatusCode() function in Grpc\\Testing\\RequestResultCount
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
DHttpResponseException.java49 public int getStatusCode() { in getStatusCode() method in HttpResponseException
/external/volley/src/main/java/com/android/volley/toolbox/
DHttpResponse.java59 public final int getStatusCode() { in getStatusCode() method in HttpResponse

1234