Searched refs:setResponseCode (Results 1 – 8 of 8) sorted by relevance
81 .setResponseCode(HttpURLConnection.HTTP_OK) in request_contentTypeXml_returnsXmlBody()112 .setResponseCode(HttpURLConnection.HTTP_BAD_REQUEST) in request_httpGetResponseBadRequest_throwsException()143 .setResponseCode(HttpURLConnection.HTTP_OK) in request_contentTypeXml_returnsXmlBody_useSpecificNetwork()184 .setResponseCode(HttpURLConnection.HTTP_OK) in request_postJson_doNotEscapeForwardSlash()232 .setResponseCode(HttpURLConnection.HTTP_OK) in request_getResponseBodyFailed_expectThrowsException()253 .setResponseCode(HttpURLConnection.HTTP_OK) in history()
63 public abstract Builder setResponseCode(int responseCode); in setResponseCode() method in HttpResponse.Builder82 .setResponseCode(0) in builder()
167 responseBuilder.setResponseCode(responseCode); in getHttpResponse()
44 inline void setResponseCode(MtpResponseCode code) in setResponseCode() function
462 mResponse.setResponseCode(response); in handleRequest()
192 .setResponseCode(0) in builder()200 public abstract Builder setResponseCode(int value); in setResponseCode() method in FakeURLStreamHandler.FakeResponse.Builder
64 .setResponseCode(200) in testConnectToHttps()114 .setResponseCode(200) in testConnectViaProxy()156 .setResponseCode(200) in testConnectViaHttpProxyToHttps()
261 MockResponse response = new MockResponse().setResponseCode(status); in buildResponse()