Home
last modified time | relevance | path

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

12

/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/jetty/src/java/org/eclipse/jetty/http/
DHttpStatus.java613 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/
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()
DDefaultProxyAuthenticationHandler.java38 import org.apache.http.HttpStatus;
64 return status == HttpStatus.SC_PROXY_AUTHENTICATION_REQUIRED; in isAuthenticationRequested()
DDefaultTargetAuthenticationHandler.java38 import org.apache.http.HttpStatus;
64 return status == HttpStatus.SC_UNAUTHORIZED; in isAuthenticationRequested()
/external/jetty/src/java/org/eclipse/jetty/client/webdav/
DMkcolExchange.java24 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()
DPropfindExchange.java24 import org.eclipse.jetty.http.HttpStatus;
40 if ( status == HttpStatus.OK_200 ) in onResponseStatus()
DWebdavListener.java29 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/
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.java27 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/
DRedirectListener.java25 import org.eclipse.jetty.http.HttpStatus;
57 _redirected = ((status == HttpStatus.MOVED_PERMANENTLY_301 || in onResponseStatus()
58 status == HttpStatus.MOVED_TEMPORARILY_302) && in onResponseStatus()
DAbstractHttpConnection.java34 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()
DBlockingHttpConnection.java25 import org.eclipse.jetty.http.HttpStatus;
259 if (_status==HttpStatus.SWITCHING_PROTOCOLS_101) in handle()
DAsyncHttpConnection.java24 import org.eclipse.jetty.http.HttpStatus;
211 if (_status==HttpStatus.SWITCHING_PROTOCOLS_101) in handle()
/external/jetty/src/java/org/eclipse/jetty/server/
DAbstractHttpConnection.java44 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()
DBlockingHttpConnection.java25 import org.eclipse.jetty.http.HttpStatus;
105 if (_response.getStatus()==HttpStatus.SWITCHING_PROTOCOLS_101) in handle()
DAsyncHttpConnection.java24 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/
DResourceHandler.java32 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/
DSecurityListener.java30 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/
DHttpStatus.java51 public interface HttpStatus { interface

12