/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
HttpResponseGenerator.java | 4 import org.apache.http.HttpResponse; 7 public HttpResponse getResponse(HttpRequest request);
|
ShadowAndroidHttpClient.java | 9 import org.apache.http.HttpResponse; 51 public HttpResponse execute(HttpUriRequest httpUriRequest) throws IOException, ClientProtocolException { 56 public HttpResponse execute(HttpUriRequest httpUriRequest, HttpContext httpContext) throws IOException, ClientProtocolException { 61 public HttpResponse execute(HttpHost httpHost, HttpRequest httpRequest) throws IOException, ClientProtocolException { 66 public HttpResponse execute(HttpHost httpHost, HttpRequest httpRequest, HttpContext httpContext) throws IOException, ClientProtocolException {
|
/external/chromium_org/chrome/test/webdriver/ |
http_response.cc | 13 const int HttpResponse::kOk = 200; 14 const int HttpResponse::kNoContent = 204; 15 const int HttpResponse::kSeeOther = 303; 16 const int HttpResponse::kNotModified = 304; 17 const int HttpResponse::kBadRequest = 400; 18 const int HttpResponse::kForbidden = 403; 19 const int HttpResponse::kNotFound = 404; 20 const int HttpResponse::kMethodNotAllowed = 405; 21 const int HttpResponse::kInternalServerError = 500; 22 const int HttpResponse::kNotImplemented = 501 [all...] |
http_response_unittest.cc | 12 void ExpectHeaderValue(const HttpResponse& response, const std::string& name, 22 HttpResponse response; 34 HttpResponse response; 46 HttpResponse response; 59 HttpResponse response; 69 HttpResponse response;
|
webdriver_dispatch_unittest.cc | 21 void ExpectHeaderValue(const HttpResponse& response, const std::string& name, 30 HttpResponse* const http_response) { 37 HttpResponse* const http_response) { 39 http_response->set_status(HttpResponse::kOk); // Reset to detect changes. 40 ExpectHttpStatus(HttpResponse::kInternalServerError, 47 HttpResponse http_response; 53 ExpectHttpStatus(HttpResponse::kOk, command_response, &http_response); 56 ExpectHttpStatus(HttpResponse::kSeeOther, command_response, &http_response); 61 ExpectHttpStatus(HttpResponse::kBadRequest, command_response, 65 ExpectHttpStatus(HttpResponse::kNotFound, command_response [all...] |
webdriver_dispatch.cc | 67 const HttpResponse& response) { 68 HttpResponse modified_response(response); 96 HttpResponse response; 106 WriteHttpResponse(connection, HttpResponse()); 165 WriteHttpResponse(connection, HttpResponse(HttpResponse::kNoContent)); 171 WriteHttpResponse(connection, HttpResponse(HttpResponse::kForbidden)); 184 HttpResponse response(HttpResponse::kNotImplemented) [all...] |
http_response.h | 15 class HttpResponse { 32 HttpResponse(); 33 explicit HttpResponse(int status); 34 ~HttpResponse();
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
HTTPProxyException.java | 23 public final String httpResponse; 26 public HTTPProxyException(String httpResponse, int httpErrorCode) 28 super("HTTP Proxy Error (" + httpErrorCode + " " + httpResponse + ")"); 29 this.httpResponse = httpResponse;
|
/external/smack/src/com/kenai/jbosh/ |
HTTPExchange.java | 55 * HTTPResponse instance. 57 private HTTPResponse response; 87 * Set the HTTPResponse instance. 89 * @return HTTPResponse instance associated with the request. 91 void setHTTPResponse(HTTPResponse resp) { 96 "HTTPResponse was already set")); 106 * Get the HTTPResponse instance. 108 * @return HTTPResponse instance associated with the request. 110 HTTPResponse getHTTPResponse() {
|
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/ |
HttpMethodResponse.java | 31 import org.apache.http.HttpResponse; 35 * An HttpResponse, encapsulated as an OAuthMessage. 51 public HttpMethodResponse(HttpRequestBase request, HttpResponse response, byte[] requestBody, 56 this.httpResponse = response; 63 private final HttpResponse httpResponse; 70 return httpResponse.getStatusLine().getStatusCode(); 76 return httpResponse.getEntity().getContent(); 82 Header[] allHeaders = httpResponse.getAllHeaders(); 122 String value = httpResponse.getStatusLine().toString() [all...] |
/frameworks/volley/tests/src/com/android/volley/mock/ |
MockHttpStack.java | 23 import org.apache.http.HttpResponse; 30 private HttpResponse mResponseToReturn; 50 public void setResponseToReturn(HttpResponse response) { 55 public HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders)
|
MockHttpClient.java | 22 import org.apache.http.HttpResponse; 56 public HttpResponse execute(HttpUriRequest request, HttpContext context) { 60 HttpResponse response = new BasicHttpResponse(statusLine); 70 public HttpResponse execute(HttpUriRequest request) { 75 public HttpResponse execute(HttpHost target, HttpRequest request) { 85 public HttpResponse execute(HttpHost target, HttpRequest request, HttpContext context) {
|
/external/chromium_org/sync/engine/net/ |
server_connection_manager.cc | 31 HttpResponse::HttpResponse() 39 const char* HttpResponse::GetServerConnectionCodeString( 57 HttpResponse::ServerConnectionCode 58 HttpResponse::ServerConnectionCodeFromNetError(int error_code) { 82 HttpResponse* response, 85 response->server_status = HttpResponse::SYNC_SERVER_ERROR; 95 response->server_status = HttpResponse::IO_ERROR; 102 HttpResponse* response, 110 response->server_status = HttpResponse::IO_ERROR [all...] |
server_connection_manager.h | 35 // HttpResponse gathers the relevant output properties of an HTTP request. 38 struct SYNC_EXPORT_PRIVATE HttpResponse { 87 HttpResponse(); 97 HttpResponse::ServerConnectionCode connection_code; 98 explicit ServerConnectionEvent(HttpResponse::ServerConnectionCode code) : 117 HttpResponse* response); 121 HttpResponse* const response_; 135 HttpResponse response; 150 HttpResponse* response) = 0; 156 bool ReadBufferResponse(std::string* buffer_out, HttpResponse* response [all...] |
/external/chromium/chrome/browser/sync/engine/net/ |
syncapi_server_connection_manager.cc | 12 using browser_sync::HttpResponse; 27 HttpResponse* response) { 52 response->server_status = HttpResponse::IO_ERROR; 64 response->server_status = HttpResponse::SERVER_CONNECTION_OK; 66 response->server_status = HttpResponse::SYNC_AUTH_ERROR; 68 response->server_status = HttpResponse::SYNC_SERVER_ERROR;
|
server_connection_manager.h | 44 // HttpResponse gathers the relevant output properties of an HTTP request. 47 struct HttpResponse { 100 HttpResponse() 107 inline bool IsGoodReplyFromServer(HttpResponse::ServerConnectionCode code) { 108 return code >= HttpResponse::SERVER_CONNECTION_OK; 125 HttpResponse::ServerConnectionCode connection_code; 130 HttpResponse::ServerConnectionCode connection_code; 132 ServerConnectionEvent2(HttpResponse::ServerConnectionCode code, 151 HttpResponse* response); 155 HttpResponse* const response_ [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
FakeHttpLayer.java | 25 HttpResponse defaultHttpResponse; 26 private HttpResponse defaultResponse; 41 public void addPendingHttpResponse(final HttpResponse httpResponse) { 44 public HttpResponse getResponse(HttpRequest request) { 45 return httpResponse; 54 public void addHttpResponseRule(String method, String uri, HttpResponse response) { 58 public void addHttpResponseRule(String uri, HttpResponse response) { 66 public void addHttpResponseRule(RequestMatcher requestMatcher, HttpResponse response) { 76 public void addHttpResponseRule(RequestMatcher requestMatcher, List<? extends HttpResponse> responses) [all...] |
/external/chromium_org/sync/internal_api/ |
syncapi_server_connection_manager.cc | 30 HttpResponse* response) { 59 response->server_status = HttpResponse::ServerConnectionCodeFromNetError( 71 response->server_status = HttpResponse::SERVER_CONNECTION_OK; 73 response->server_status = HttpResponse::SYNC_AUTH_ERROR; 75 response->server_status = HttpResponse::SYNC_SERVER_ERROR;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
TestHttpResponseTest.java | 5 import org.apache.http.HttpResponse; 19 HttpResponse resp = 33 HttpResponse resp = 47 HttpResponse resp = 57 HttpResponse resp = 72 HttpResponse resp = 90 HttpResponse resp =
|
/external/apache-http/src/org/apache/http/message/ |
BasicHttpResponse.java | 37 import org.apache.http.HttpResponse; 54 implements HttpResponse { 118 // non-javadoc, see interface HttpResponse 123 // non-javadoc, see interface HttpResponse 128 // non-javadoc, see interface HttpResponse 133 // non-javadoc, see interface HttpResponse 141 // non-javadoc, see interface HttpResponse 147 // non-javadoc, see interface HttpResponse 154 // non-javadoc, see interface HttpResponse 161 // non-javadoc, see interface HttpResponse [all...] |
/external/chromium_org/net/test/embedded_test_server/ |
http_response.h | 20 class HttpResponse{ 22 virtual ~HttpResponse(); 32 class BasicHttpResponse : public HttpResponse {
|
embedded_test_server.cc | 28 class CustomHttpResponse : public HttpResponse { 46 scoped_ptr<HttpResponse> HandleFileRequest( 63 return scoped_ptr<HttpResponse>(); 71 return scoped_ptr<HttpResponse>(); 75 return http_response.PassAs<HttpResponse>(); 81 return http_response.PassAs<HttpResponse>(); 187 scoped_ptr<HttpResponse> response = 202 not_found_response.PassAs<HttpResponse>());
|
http_connection.h | 21 class HttpResponse; 38 void SendResponse(scoped_ptr<HttpResponse> response) const;
|
/external/apache-http/src/org/apache/http/impl/client/ |
TunnelRefusedException.java | 35 import org.apache.http.HttpResponse; 41 private final HttpResponse response; 43 public TunnelRefusedException(final String message, final HttpResponse response) { 48 public HttpResponse getResponse() {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
DefaultRequestDirectorTest.java | 11 import org.apache.http.HttpResponse; 51 @Override public long getKeepAliveDuration(HttpResponse httpResponse, HttpContext httpContext) { 66 HttpResponse response = requestDirector.execute(null, new HttpGet("http://example.com"), null); 80 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); 92 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); 105 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); 115 HttpResponse getResponse = requestDirector.execute(null, new HttpGet("http://some.uri"), null); 120 HttpResponse postResponse = requestDirector.execute(null, new HttpPost("http://some.uri"), null); 133 HttpResponse getResponse = requestDirector.execute(null, new HttpGet("http://some.uri"), null) [all...] |