/external/apache-http/src/org/apache/http/impl/ |
D | EnglishReasonPhraseCatalog.java | 36 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/ |
D | ResponseConnControl.java | 42 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()
|
D | HttpService.java | 44 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()
|
D | HttpRequestExecutor.java | 42 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()
|
D | ResponseContent.java | 40 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()
|
D | ResponseDate.java | 39 import org.apache.http.HttpStatus; 71 if ((status >= HttpStatus.SC_OK) && in process()
|
/external/jetty/src/java/org/eclipse/jetty/http/ |
D | HttpStatus.java | 613 public class HttpStatus class 855 return HttpStatus.isInformational(this._code); in isInformational() 870 return HttpStatus.isSuccess(this._code); in isSuccess() 885 return HttpStatus.isRedirection(this._code); in isRedirection() 900 return HttpStatus.isClientError(this._code); in isClientError() 915 return HttpStatus.isServerError(this._code); in isServerError()
|
/external/apache-http/src/org/apache/http/impl/client/ |
D | DefaultRedirectHandler.java | 43 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()
|
D | DefaultProxyAuthenticationHandler.java | 38 import org.apache.http.HttpStatus; 64 return status == HttpStatus.SC_PROXY_AUTHENTICATION_REQUIRED; in isAuthenticationRequested()
|
D | DefaultTargetAuthenticationHandler.java | 38 import org.apache.http.HttpStatus; 64 return status == HttpStatus.SC_UNAUTHORIZED; in isAuthenticationRequested()
|
/external/jetty/src/java/org/eclipse/jetty/client/webdav/ |
D | MkcolExchange.java | 24 import org.eclipse.jetty.http.HttpStatus; 45 if ( status == HttpStatus.CREATED_201 ) in onResponseStatus() 51 if ( status == HttpStatus.METHOD_NOT_ALLOWED_405 ) // returned when resource exists in onResponseStatus()
|
D | PropfindExchange.java | 24 import org.eclipse.jetty.http.HttpStatus; 40 if ( status == HttpStatus.OK_200 ) in onResponseStatus()
|
D | WebdavListener.java | 29 import org.eclipse.jetty.http.HttpStatus; 83 if ( status == HttpStatus.FORBIDDEN_403 || status == HttpStatus.CONFLICT_409 ) in onResponseStatus()
|
/external/apache-http/android/src/android/net/http/ |
D | Request.java | 34 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()
|
D | HttpsConnection.java | 27 import org.apache.http.HttpStatus; 225 } while (statusCode < HttpStatus.SC_OK); in openConnection() 252 if (statusCode == HttpStatus.SC_OK) { in openConnection()
|
/external/jetty/src/java/org/eclipse/jetty/client/ |
D | RedirectListener.java | 25 import org.eclipse.jetty.http.HttpStatus; 57 _redirected = ((status == HttpStatus.MOVED_PERMANENTLY_301 || in onResponseStatus() 58 status == HttpStatus.MOVED_TEMPORARILY_302) && in onResponseStatus()
|
D | AbstractHttpConnection.java | 34 import org.eclipse.jetty.http.HttpStatus; 281 case HttpStatus.CONTINUE_100: in startResponse() 282 case HttpStatus.PROCESSING_102: in startResponse() 287 case HttpStatus.OK_200: in startResponse()
|
D | BlockingHttpConnection.java | 25 import org.eclipse.jetty.http.HttpStatus; 259 if (_status==HttpStatus.SWITCHING_PROTOCOLS_101) in handle()
|
D | AsyncHttpConnection.java | 24 import org.eclipse.jetty.http.HttpStatus; 211 if (_status==HttpStatus.SWITCHING_PROTOCOLS_101) in handle()
|
/external/jetty/src/java/org/eclipse/jetty/server/ |
D | AbstractHttpConnection.java | 44 import org.eclipse.jetty.http.HttpStatus; 340 ((HttpGenerator)_generator).send1xx(HttpStatus.CONTINUE_100); in getInputStream() 642 _generator.setResponse(HttpStatus.INTERNAL_SERVER_ERROR_500,null); in commitResponse() 645 throw new HttpException(HttpStatus.INTERNAL_SERVER_ERROR_500); in commitResponse() 670 _generator.setResponse(HttpStatus.INTERNAL_SERVER_ERROR_500,null); in completeResponse() 673 throw new HttpException(HttpStatus.INTERNAL_SERVER_ERROR_500); in completeResponse() 818 throw new HttpException(HttpStatus.BAD_REQUEST_400,null); in startRequest() 829 throw new HttpException(HttpStatus.BAD_REQUEST_400,null,e); in startRequest() 945 _generator.setResponse(HttpStatus.BAD_REQUEST_400, null); in headerComplete() 955 _generator.setResponse(HttpStatus.EXPECTATION_FAILED_417, null); in headerComplete()
|
D | BlockingHttpConnection.java | 25 import org.eclipse.jetty.http.HttpStatus; 105 if (_response.getStatus()==HttpStatus.SWITCHING_PROTOCOLS_101) in handle()
|
D | AsyncHttpConnection.java | 24 import org.eclipse.jetty.http.HttpStatus; 123 if (_response.getStatus()==HttpStatus.SWITCHING_PROTOCOLS_101) in handle()
|
/external/jetty/src/java/org/eclipse/jetty/server/handler/ |
D | ResourceHandler.java | 32 import org.eclipse.jetty.http.HttpStatus; 449 response.setStatus(HttpStatus.NOT_MODIFIED_304); in handle() 461 response.setStatus(HttpStatus.NOT_MODIFIED_304); in handle() 507 response.sendError(HttpStatus.FORBIDDEN_403); in doDirectory()
|
/external/jetty/src/java/org/eclipse/jetty/client/security/ |
D | SecurityListener.java | 30 import org.eclipse.jetty.http.HttpStatus; 130 …if ( status == HttpStatus.UNAUTHORIZED_401 && _attempts<_destination.getHttpClient().maxRetries()) in onResponseStatus()
|
/external/apache-http/src/org/apache/http/ |
D | HttpStatus.java | 51 public interface HttpStatus { interface
|