OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:HttpStatus
(Results
1 - 24
of
24
) sorted by null
/external/apache-http/src/org/apache/http/impl/
EnglishReasonPhraseCatalog.java
36
import org.apache.http.
HttpStatus
;
130
setReason(
HttpStatus
.SC_OK,
132
setReason(
HttpStatus
.SC_CREATED,
134
setReason(
HttpStatus
.SC_ACCEPTED,
136
setReason(
HttpStatus
.SC_NO_CONTENT,
138
setReason(
HttpStatus
.SC_MOVED_PERMANENTLY,
140
setReason(
HttpStatus
.SC_MOVED_TEMPORARILY,
142
setReason(
HttpStatus
.SC_NOT_MODIFIED,
144
setReason(
HttpStatus
.SC_BAD_REQUEST,
146
setReason(
HttpStatus
.SC_UNAUTHORIZED
[
all
...]
/external/apache-http/src/org/apache/http/protocol/
ResponseConnControl.java
42
import org.apache.http.
HttpStatus
;
72
if (status ==
HttpStatus
.SC_BAD_REQUEST ||
73
status ==
HttpStatus
.SC_REQUEST_TIMEOUT ||
74
status ==
HttpStatus
.SC_LENGTH_REQUIRED ||
75
status ==
HttpStatus
.SC_REQUEST_TOO_LONG ||
76
status ==
HttpStatus
.SC_REQUEST_URI_TOO_LONG ||
77
status ==
HttpStatus
.SC_SERVICE_UNAVAILABLE ||
78
status ==
HttpStatus
.SC_NOT_IMPLEMENTED) {
ResponseDate.java
39
import org.apache.http.
HttpStatus
;
66
if ((status >=
HttpStatus
.SC_OK) &&
ResponseContent.java
40
import org.apache.http.
HttpStatus
;
93
if (status !=
HttpStatus
.SC_NO_CONTENT
94
&& status !=
HttpStatus
.SC_NOT_MODIFIED
95
&& status !=
HttpStatus
.SC_RESET_CONTENT) {
HttpRequestExecutor.java
42
import org.apache.http.
HttpStatus
;
86
return status >=
HttpStatus
.SC_OK
87
&& status !=
HttpStatus
.SC_NO_CONTENT
88
&& status !=
HttpStatus
.SC_NOT_MODIFIED
89
&& status !=
HttpStatus
.SC_RESET_CONTENT;
225
if (status !=
HttpStatus
.SC_CONTINUE) {
277
while (response == null || statuscode <
HttpStatus
.SC_OK) {
HttpService.java
44
import org.apache.http.
HttpStatus
;
150
HttpStatus
.SC_CONTINUE, context);
159
HttpStatus
.SC_INTERNAL_SERVER_ERROR, context);
179
response = this.responseFactory.newHttpResponse(ver,
HttpStatus
.SC_OK, context);
200
(HttpVersion.HTTP_1_0,
HttpStatus
.SC_INTERNAL_SERVER_ERROR,
219
response.setStatusCode(
HttpStatus
.SC_NOT_IMPLEMENTED);
221
response.setStatusCode(
HttpStatus
.SC_HTTP_VERSION_NOT_SUPPORTED);
223
response.setStatusCode(
HttpStatus
.SC_BAD_REQUEST);
225
response.setStatusCode(
HttpStatus
.SC_INTERNAL_SERVER_ERROR);
245
response.setStatusCode(
HttpStatus
.SC_NOT_IMPLEMENTED)
[
all
...]
/external/apache-http/src/org/apache/http/impl/client/
DefaultProxyAuthenticationHandler.java
38
import org.apache.http.
HttpStatus
;
59
return status ==
HttpStatus
.SC_PROXY_AUTHENTICATION_REQUIRED;
DefaultTargetAuthenticationHandler.java
38
import org.apache.http.
HttpStatus
;
59
return status ==
HttpStatus
.SC_UNAUTHORIZED;
DefaultRedirectHandler.java
43
import org.apache.http.
HttpStatus
;
83
case
HttpStatus
.SC_MOVED_TEMPORARILY:
84
case
HttpStatus
.SC_MOVED_PERMANENTLY:
85
case
HttpStatus
.SC_SEE_OTHER:
86
case
HttpStatus
.SC_TEMPORARY_REDIRECT:
/external/apache-http/src/org/apache/http/
HttpStatus.java
2
* $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/
HttpStatus
.java $
46
public interface
HttpStatus
{
/packages/apps/Gallery3D/src/com/cooliris/picasa/
PicasaApi.java
23
import org.apache.http.
HttpStatus
;
185
case
HttpStatus
.SC_OK:
187
case
HttpStatus
.SC_NOT_MODIFIED:
189
case
HttpStatus
.SC_FORBIDDEN:
190
case
HttpStatus
.SC_UNAUTHORIZED:
260
case
HttpStatus
.SC_OK:
262
case
HttpStatus
.SC_NOT_MODIFIED:
264
case
HttpStatus
.SC_FORBIDDEN:
265
case
HttpStatus
.SC_UNAUTHORIZED:
/cts/tests/tests/webkit/src/android/webkit/cts/
HttpAuthHandlerTest.java
24
import org.apache.http.
HttpStatus
;
89
assertEquals(CtsTestServer.getReasonString(
HttpStatus
.SC_FORBIDDEN), mWebView.getTitle());
99
CtsTestServer.getReasonString(
HttpStatus
.SC_UNAUTHORIZED), mWebView.getTitle());
127
CtsTestServer.getReasonString(
HttpStatus
.SC_UNAUTHORIZED), mWebView.getTitle());
CacheManager_CacheResultTest.java
24
import org.apache.http.
HttpStatus
;
163
assertEquals(
HttpStatus
.SC_OK, result.getHttpStatusCode());
/external/apache-http/src/org/apache/http/message/
BasicStatusLine.java
34
import org.apache.http.
HttpStatus
;
45
* @see
HttpStatus
/cts/tests/src/android/webkit/cts/
CtsTestServer.java
23
import org.apache.http.
HttpStatus
;
128
sReasons.put(
HttpStatus
.SC_UNAUTHORIZED, "Unauthorized");
129
sReasons.put(
HttpStatus
.SC_NOT_FOUND, "Not Found");
130
sReasons.put(
HttpStatus
.SC_FORBIDDEN, "Forbidden");
131
sReasons.put(
HttpStatus
.SC_MOVED_TEMPORARILY, "Moved Temporarily");
404
response = createResponse(
HttpStatus
.SC_FORBIDDEN);
408
response = createResponse(
HttpStatus
.SC_UNAUTHORIZED);
428
response = createResponse(
HttpStatus
.SC_OK);
443
response = createResponse(
HttpStatus
.SC_OK);
457
response = createResponse(
HttpStatus
.SC_MOVED_TEMPORARILY)
[
all
...]
/frameworks/base/core/java/android/net/http/
Request.java
36
import org.apache.http.
HttpStatus
;
256
} while (statusCode <
HttpStatus
.SC_OK);
337
if (statusCode ==
HttpStatus
.SC_OK
338
|| statusCode ==
HttpStatus
.SC_PARTIAL_CONTENT) {
481
return status >=
HttpStatus
.SC_OK
482
&& status !=
HttpStatus
.SC_NO_CONTENT
483
&& status !=
HttpStatus
.SC_NOT_MODIFIED;
HttpsConnection.java
27
import org.apache.http.
HttpStatus
;
225
} while (statusCode <
HttpStatus
.SC_OK);
252
if (statusCode ==
HttpStatus
.SC_OK) {
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
NetworkUtilities.java
28
import org.apache.http.
HttpStatus
;
137
if (resp.getStatusLine().getStatusCode() ==
HttpStatus
.SC_OK) {
237
if (resp.getStatusLine().getStatusCode() ==
HttpStatus
.SC_OK) {
247
if (resp.getStatusLine().getStatusCode() ==
HttpStatus
.SC_UNAUTHORIZED) {
286
if (resp.getStatusLine().getStatusCode() ==
HttpStatus
.SC_OK) {
295
if (resp.getStatusLine().getStatusCode() ==
HttpStatus
.SC_UNAUTHORIZED) {
/packages/apps/Email/src/com/android/exchange/
EasOutboxService.java
32
import org.apache.http.
HttpStatus
;
143
if (code ==
HttpStatus
.SC_OK) {
EasSyncService.java
58
import org.apache.http.
HttpStatus
;
332
return (code ==
HttpStatus
.SC_UNAUTHORIZED) || (code ==
HttpStatus
.SC_FORBIDDEN);
341
return (code == HTTP_NEED_PROVISIONING) || (code ==
HttpStatus
.SC_FORBIDDEN);
391
if (code ==
HttpStatus
.SC_OK) {
411
if (code ==
HttpStatus
.SC_FORBIDDEN || code == HTTP_NEED_PROVISIONING) {
420
} else if (code ==
HttpStatus
.SC_NOT_FOUND) {
423
} else if (code !=
HttpStatus
.SC_OK) {
498
} else if (code ==
HttpStatus
.SC_UNAUTHORIZED) {
512
} else if (code !=
HttpStatus
.SC_OK)
[
all
...]
/external/quake/src/com/android/quake/
DownloaderActivity.java
41
import org.apache.http.
HttpStatus
;
812
if (response.getStatusLine().getStatusCode() !=
HttpStatus
.SC_OK) {
835
int expectedStatusCode =
HttpStatus
.SC_OK;
843
expectedStatusCode =
HttpStatus
.SC_PARTIAL_CONTENT;
849
if ((statusCode ==
HttpStatus
.SC_OK)
851
==
HttpStatus
.SC_PARTIAL_CONTENT)) {
[
all
...]
/prebuilt/sdk/4/
android.jar
/prebuilt/sdk/7/
android.jar
/prebuilt/sdk/8/
android.jar
Completed in 814 milliseconds