Home
last modified time | relevance | path

Searched refs:getStatusCode (Results 1 – 25 of 84) 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/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/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/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/
DNistSipMessageFactoryImpl.java123 && sipResponse.getStatusCode() / 100 == 1) { in newSIPServerResponse()
127 + sipResponse.getStatusCode()); in newSIPServerResponse()
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()
/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/ims/rcs/rcsservice/src/com/android/service/ims/
DStackListener.java137 pCmdStatus.getStatus().getStatusCode()); in handleMessage()
153 pCmdStatus.getStatus().getStatusCode()); in handleMessage()
378 statusCode.getStatusCode());
399 statusCode.getStatusCode());
539 pCmdStatus.getStatus().getStatusCode());
/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/apache-http/src/org/apache/http/
DStatusLine.java56 int getStatusCode(); in getStatusCode() method
/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/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/grpc-grpc-java/services/src/generated/main/java/io/grpc/binarylog/v1/
DTrailer.java150 public int getStatusCode() { in getStatusCode() method in Trailer
280 result = result && (getStatusCode() in equals()
281 == other.getStatusCode()); in equals()
302 hash = (53 * hash) + getStatusCode(); in hashCode()
522 if (other.getStatusCode() != 0) { in mergeFrom()
523 setStatusCode(other.getStatusCode()); in mergeFrom()
720 public int getStatusCode() { in getStatusCode() method in Trailer.Builder
DTrailerOrBuilder.java42 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/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

1234