Home
last modified time | relevance | path

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

/external/apache-http/src/org/apache/http/impl/
DEnglishReasonPhraseCatalog.java36 import org.apache.http.HttpStatus;
135 setReason(HttpStatus.SC_OK, in setReason()
137 setReason(HttpStatus.SC_CREATED, in setReason()
139 setReason(HttpStatus.SC_ACCEPTED, in setReason()
141 setReason(HttpStatus.SC_NO_CONTENT, in setReason()
143 setReason(HttpStatus.SC_MOVED_PERMANENTLY, in setReason()
145 setReason(HttpStatus.SC_MOVED_TEMPORARILY, in setReason()
147 setReason(HttpStatus.SC_NOT_MODIFIED, in setReason()
149 setReason(HttpStatus.SC_BAD_REQUEST, in setReason()
151 setReason(HttpStatus.SC_UNAUTHORIZED, in setReason()
[all …]
/external/apache-http/src/org/apache/http/protocol/
DResponseConnControl.java42 import org.apache.http.HttpStatus;
77 if (status == HttpStatus.SC_BAD_REQUEST || in process()
78 status == HttpStatus.SC_REQUEST_TIMEOUT || in process()
79 status == HttpStatus.SC_LENGTH_REQUIRED || in process()
80 status == HttpStatus.SC_REQUEST_TOO_LONG || in process()
81 status == HttpStatus.SC_REQUEST_URI_TOO_LONG || in process()
82 status == HttpStatus.SC_SERVICE_UNAVAILABLE || in process()
83 status == HttpStatus.SC_NOT_IMPLEMENTED) { in process()
DHttpService.java44 import org.apache.http.HttpStatus;
155 HttpStatus.SC_CONTINUE, context); in handleRequest()
164 HttpStatus.SC_INTERNAL_SERVER_ERROR, context); in handleRequest()
184 response = this.responseFactory.newHttpResponse(ver, HttpStatus.SC_OK, context); in handleRequest()
205 (HttpVersion.HTTP_1_0, HttpStatus.SC_INTERNAL_SERVER_ERROR, in handleRequest()
224 response.setStatusCode(HttpStatus.SC_NOT_IMPLEMENTED); in handleException()
226 response.setStatusCode(HttpStatus.SC_HTTP_VERSION_NOT_SUPPORTED); in handleException()
228 response.setStatusCode(HttpStatus.SC_BAD_REQUEST); in handleException()
230 response.setStatusCode(HttpStatus.SC_INTERNAL_SERVER_ERROR); in handleException()
250 response.setStatusCode(HttpStatus.SC_NOT_IMPLEMENTED); in doService()
DHttpRequestExecutor.java42 import org.apache.http.HttpStatus;
91 return status >= HttpStatus.SC_OK in canResponseHaveBody()
92 && status != HttpStatus.SC_NO_CONTENT in canResponseHaveBody()
93 && status != HttpStatus.SC_NOT_MODIFIED in canResponseHaveBody()
94 && status != HttpStatus.SC_RESET_CONTENT; in canResponseHaveBody()
230 if (status != HttpStatus.SC_CONTINUE) { in doSendRequest()
282 while (response == null || statuscode < HttpStatus.SC_OK) { in doReceiveResponse()
DResponseContent.java40 import org.apache.http.HttpStatus;
98 if (status != HttpStatus.SC_NO_CONTENT in process()
99 && status != HttpStatus.SC_NOT_MODIFIED in process()
100 && status != HttpStatus.SC_RESET_CONTENT) { in process()
DResponseDate.java39 import org.apache.http.HttpStatus;
71 if ((status >= HttpStatus.SC_OK) && in process()
/external/apache-http/src/org/apache/http/impl/client/
DDefaultRedirectHandler.java43 import org.apache.http.HttpStatus;
88 case HttpStatus.SC_MOVED_TEMPORARILY: in isRedirectRequested()
89 case HttpStatus.SC_MOVED_PERMANENTLY: in isRedirectRequested()
90 case HttpStatus.SC_SEE_OTHER: in isRedirectRequested()
91 case HttpStatus.SC_TEMPORARY_REDIRECT: in isRedirectRequested()
DDefaultTargetAuthenticationHandler.java38 import org.apache.http.HttpStatus;
64 return status == HttpStatus.SC_UNAUTHORIZED; in isAuthenticationRequested()
DDefaultProxyAuthenticationHandler.java38 import org.apache.http.HttpStatus;
64 return status == HttpStatus.SC_PROXY_AUTHENTICATION_REQUIRED; in isAuthenticationRequested()
/external/apache-http/android/src/android/net/http/
DRequest.java34 import org.apache.http.HttpStatus;
251 } while (statusCode < HttpStatus.SC_OK); in readResponse()
332 if (statusCode == HttpStatus.SC_OK in readResponse()
333 || statusCode == HttpStatus.SC_PARTIAL_CONTENT) { in readResponse()
476 return status >= HttpStatus.SC_OK in canResponseHaveBody()
477 && status != HttpStatus.SC_NO_CONTENT in canResponseHaveBody()
478 && status != HttpStatus.SC_NOT_MODIFIED; in canResponseHaveBody()
DHttpsConnection.java30 import org.apache.http.HttpStatus;
228 } while (statusCode < HttpStatus.SC_OK); in openConnection()
255 if (statusCode == HttpStatus.SC_OK) { in openConnection()
/external/apache-http/src/org/apache/http/
DHttpStatus.java51 public interface HttpStatus { interface
/external/apache-http/src/org/apache/http/message/
DBasicStatusLine.java34 import org.apache.http.HttpStatus;
/external/apache-http/api/
Dcurrent.txt1021 @Deprecated public interface HttpStatus {