Home
last modified time | relevance | path

Searched refs:responseCode (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DHttpRetryException.java42 private int responseCode; field in HttpRetryException
54 responseCode = code; in HttpRetryException()
67 responseCode = code; in HttpRetryException()
76 public int responseCode() { in responseCode() method in HttpRetryException
77 return responseCode; in responseCode()
DHttpURLConnection.java488 protected int responseCode = -1; field in HttpURLConnection
675 if (responseCode != -1) { in getResponseCode()
676 return responseCode; in getResponseCode()
729 responseCode = Integer.parseInt in getResponseCode()
731 return responseCode; in getResponseCode()
/libcore/luni/src/test/java/libcore/java/net/
DOldHttpRetryExceptionTest.java32 assertTrue("responseCode is incorrect: " + hre.responseCode(), in test_ConstructorLStringI()
33 hre.responseCode() == codes[i]); in test_ConstructorLStringI()
47 assertTrue("responseCode is incorrect: " + hre.responseCode(), in test_ConstructorLStringILString()
48 hre.responseCode() == codes[i]); in test_ConstructorLStringILString()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DHttpRetryExceptionTest.java42 assertEquals("responseCode", ref.responseCode(), tst.responseCode());
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java910 private final int responseCode; field in HttpsURLConnectionTest.SingleRequestDispatcher
914 private SingleRequestDispatcher(String expectedMethod, int responseCode) { in SingleRequestDispatcher() argument
915 this.responseCode = responseCode; in SingleRequestDispatcher()
932 response.setResponseCode(responseCode); in dispatch()