Home
last modified time | relevance | path

Searched refs:HttpStatus (Results 1 – 12 of 12) sorted by relevance

/external/apache-http/src/org/apache/http/impl/
DEnglishReasonPhraseCatalog.java36 import org.apache.http.HttpStatus;
130 setReason(HttpStatus.SC_OK, in setReason()
132 setReason(HttpStatus.SC_CREATED, in setReason()
134 setReason(HttpStatus.SC_ACCEPTED, in setReason()
136 setReason(HttpStatus.SC_NO_CONTENT, in setReason()
138 setReason(HttpStatus.SC_MOVED_PERMANENTLY, in setReason()
140 setReason(HttpStatus.SC_MOVED_TEMPORARILY, in setReason()
142 setReason(HttpStatus.SC_NOT_MODIFIED, in setReason()
144 setReason(HttpStatus.SC_BAD_REQUEST, in setReason()
146 setReason(HttpStatus.SC_UNAUTHORIZED, in setReason()
[all …]
/external/apache-http/src/org/apache/http/protocol/
DResponseConnControl.java42 import org.apache.http.HttpStatus;
72 if (status == HttpStatus.SC_BAD_REQUEST || in process()
73 status == HttpStatus.SC_REQUEST_TIMEOUT || in process()
74 status == HttpStatus.SC_LENGTH_REQUIRED || in process()
75 status == HttpStatus.SC_REQUEST_TOO_LONG || in process()
76 status == HttpStatus.SC_REQUEST_URI_TOO_LONG || in process()
77 status == HttpStatus.SC_SERVICE_UNAVAILABLE || in process()
78 status == HttpStatus.SC_NOT_IMPLEMENTED) { in process()
DHttpService.java44 import org.apache.http.HttpStatus;
150 HttpStatus.SC_CONTINUE, context); in handleRequest()
159 HttpStatus.SC_INTERNAL_SERVER_ERROR, context); in handleRequest()
179 response = this.responseFactory.newHttpResponse(ver, HttpStatus.SC_OK, context); in handleRequest()
200 (HttpVersion.HTTP_1_0, HttpStatus.SC_INTERNAL_SERVER_ERROR, in handleRequest()
219 response.setStatusCode(HttpStatus.SC_NOT_IMPLEMENTED); in handleException()
221 response.setStatusCode(HttpStatus.SC_HTTP_VERSION_NOT_SUPPORTED); in handleException()
223 response.setStatusCode(HttpStatus.SC_BAD_REQUEST); in handleException()
225 response.setStatusCode(HttpStatus.SC_INTERNAL_SERVER_ERROR); in handleException()
245 response.setStatusCode(HttpStatus.SC_NOT_IMPLEMENTED); in doService()
DHttpRequestExecutor.java42 import org.apache.http.HttpStatus;
86 return status >= HttpStatus.SC_OK in canResponseHaveBody()
87 && status != HttpStatus.SC_NO_CONTENT in canResponseHaveBody()
88 && status != HttpStatus.SC_NOT_MODIFIED in canResponseHaveBody()
89 && status != HttpStatus.SC_RESET_CONTENT; in canResponseHaveBody()
225 if (status != HttpStatus.SC_CONTINUE) { in doSendRequest()
277 while (response == null || statuscode < HttpStatus.SC_OK) { in doReceiveResponse()
DResponseContent.java40 import org.apache.http.HttpStatus;
93 if (status != HttpStatus.SC_NO_CONTENT in process()
94 && status != HttpStatus.SC_NOT_MODIFIED in process()
95 && status != HttpStatus.SC_RESET_CONTENT) { in process()
DResponseDate.java39 import org.apache.http.HttpStatus;
66 if ((status >= HttpStatus.SC_OK) && in process()
/external/apache-http/src/org/apache/http/impl/client/
DDefaultRedirectHandler.java43 import org.apache.http.HttpStatus;
83 case HttpStatus.SC_MOVED_TEMPORARILY: in isRedirectRequested()
84 case HttpStatus.SC_MOVED_PERMANENTLY: in isRedirectRequested()
85 case HttpStatus.SC_SEE_OTHER: in isRedirectRequested()
86 case HttpStatus.SC_TEMPORARY_REDIRECT: in isRedirectRequested()
DDefaultProxyAuthenticationHandler.java38 import org.apache.http.HttpStatus;
59 return status == HttpStatus.SC_PROXY_AUTHENTICATION_REQUIRED; in isAuthenticationRequested()
DDefaultTargetAuthenticationHandler.java38 import org.apache.http.HttpStatus;
59 return status == HttpStatus.SC_UNAUTHORIZED; in isAuthenticationRequested()
/external/chromium_org/net/test/android/javatests/src/org/chromium/net/test/util/
DTestWebServer.java14 import org.apache.http.HttpStatus;
386 httpResponse = createResponse(HttpStatus.SC_OK); in getResponse()
388 httpResponse = createResponse(HttpStatus.SC_NOT_FOUND); in getResponse()
390 httpResponse = createResponse(HttpStatus.SC_MOVED_TEMPORARILY); in getResponse()
398 httpResponse = createResponse(HttpStatus.SC_OK); in getResponse()
426 sReasons.put(HttpStatus.SC_UNAUTHORIZED, "Unauthorized"); in createResponse()
427 sReasons.put(HttpStatus.SC_NOT_FOUND, "Not Found"); in createResponse()
428 sReasons.put(HttpStatus.SC_FORBIDDEN, "Forbidden"); in createResponse()
429 sReasons.put(HttpStatus.SC_MOVED_TEMPORARILY, "Moved Temporarily"); in createResponse()
/external/apache-http/src/org/apache/http/
DHttpStatus.java46 public interface HttpStatus { interface
/external/apache-http/src/org/apache/http/message/
DBasicStatusLine.java34 import org.apache.http.HttpStatus;