Searched defs:responseCode (Results 1 - 6 of 6) sorted by relevance

/libcore/luni/src/main/java/java/net/
H A DHttpRetryException.java29 private int responseCode; field in class:HttpRetryException
44 responseCode = code;
61 responseCode = code;
88 public int responseCode() { method in class:HttpRetryException
89 return responseCode;
H A DHttpURLConnection.java292 protected int responseCode = -1; field in class:HttpURLConnection
618 responseCode = Integer.parseInt(response.substring(mark, last));
622 return responseCode;
/libcore/luni/src/main/java/libcore/net/http/
H A DRawHeaders.java64 private int responseCode = -1; field in class:RawHeaders
73 responseCode = copyFrom.responseCode;
100 this.responseCode = Integer.parseInt(statusLine.substring(mark, last));
122 return responseCode;
H A DHttpURLConnectionImpl.java191 throw new IOException("No response body exists; responseCode=" + getResponseCode());
318 int responseCode = getResponseCode();
319 if (responseCode == HTTP_MULT_CHOICE || responseCode == HTTP_MOVED_PERM
320 || responseCode == HTTP_MOVED_TEMP || responseCode == HTTP_SEE_OTHER) {
406 final boolean processAuthHeader(int responseCode, ResponseHeaders response, argument
408 if (responseCode != HTTP_PROXY_AUTH && responseCode != HTTP_UNAUTHORIZED) {
413 String challengeHeader = responseCode
[all...]
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
H A DHttpsURLConnectionTest.java733 final int responseCode)
735 return doInteraction(clientConnection, serverSocket, responseCode, false);
747 final int responseCode,
755 ServerWork server = new ServerWork(serverSocket, responseCode, doAuthentication);
884 private final int responseCode; field in class:HttpsURLConnectionTest.ServerWork
892 * @param responseCode the response code to be sent to the client
897 int responseCode,
900 this.responseCode = responseCode;
1037 os.write(("HTTP/1.1 " + responseCode
731 doInteraction(final HttpsURLConnection clientConnection, final ServerSocket serverSocket, final int responseCode) argument
745 doInteraction(final HttpsURLConnection clientConnection, final ServerSocket serverSocket, final int responseCode, final boolean doAuthentication) argument
896 ServerWork(ServerSocket serverSocket, int responseCode, boolean needProxyAuthentication) argument
[all...]
/libcore/luni/src/test/java/libcore/net/http/
H A DHttpResponseCacheTest.java156 private void assertCached(boolean shouldPut, int responseCode) throws Exception { argument
161 .setResponseCode(responseCode)
164 if (responseCode == HttpURLConnection.HTTP_PROXY_AUTH) {
166 } else if (responseCode == HttpURLConnection.HTTP_UNAUTHORIZED) {
174 assertEquals(responseCode, conn.getResponseCode());
182 assertNotNull(Integer.toString(responseCode), cached);
185 assertNull(Integer.toString(responseCode), cached);

Completed in 585 milliseconds