/external/apache-http/src/org/apache/http/impl/client/ |
DefaultRedirectHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/DefaultRedirectHandler.java $ 15 * http://www.apache.org/licenses/LICENSE-2.0 28 * <http://www.apache.org/>. 32 package org.apache.http.impl.client; 39 import org.apache.http.Header; 40 import org.apache.http.HttpHost; 41 import org.apache.http.HttpRequest; 42 import org.apache.http.HttpResponse; 43 import org.apache.http.HttpStatus [all...] |
AbstractAuthenticationHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/AbstractAuthenticationHandler.java $ 15 * http://www.apache.org/licenses/LICENSE-2.0 28 * <http://www.apache.org/>. 32 package org.apache.http.impl.client; 42 import org.apache.http.FormattedHeader; 43 import org.apache.http.Header; 44 import org.apache.http.HttpResponse; 45 import org.apache.http.auth.AuthScheme; 46 import org.apache.http.auth.AuthSchemeRegistry [all...] |
RequestWrapper.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/RequestWrapper.java $ 15 * http://www.apache.org/licenses/LICENSE-2.0 28 * <http://www.apache.org/>. 32 package org.apache.http.impl.client; 37 import org.apache.http.HttpRequest; 38 import org.apache.http.ProtocolException; 39 import org.apache.http.ProtocolVersion; 40 import org.apache.http.RequestLine; 41 import org.apache.http.client.methods.HttpUriRequest [all...] |
DefaultHttpRequestRetryHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/DefaultHttpRequestRetryHandler.java $ 15 * http://www.apache.org/licenses/LICENSE-2.0 28 * <http://www.apache.org/>. 32 package org.apache.http.impl.client; 40 import org.apache.http.NoHttpResponseException; 41 import org.apache.http.client.HttpRequestRetryHandler; 42 import org.apache.http.protocol.HttpContext; 43 import org.apache.http.protocol.ExecutionContext; 52 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
AbstractPooledConnAdapter.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/AbstractPooledConnAdapter.java $ 15 * http://www.apache.org/licenses/LICENSE-2.0 27 * <http://www.apache.org/>. 31 package org.apache.http.impl.conn; 36 import org.apache.http.HttpHost; 37 import org.apache.http.params.HttpParams; 38 import org.apache.http.protocol.HttpContext; 39 import org.apache.http.conn.routing.HttpRoute; 40 import org.apache.http.conn.ClientConnectionManager [all...] |
DefaultClientConnection.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/DefaultClientConnection.java $ 15 * http://www.apache.org/licenses/LICENSE-2.0 28 * <http://www.apache.org/>. 32 package org.apache.http.impl.conn; 40 import org.apache.http.Header; 41 import org.apache.http.HttpException; 42 import org.apache.http.HttpHost; 43 import org.apache.http.HttpRequest; 44 import org.apache.http.HttpResponse [all...] |
/external/python/google-api-python-client/googleapiclient/ |
sample_tools.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 29 from googleapiclient.http import build_http 77 # Console <http://code.google.com/apis/console>. 86 # Prepare credentials, and authorize HTTP object with them. 94 http = credentials.authorize(http=build_http()) 98 service = discovery.build(name, version, http=http) 105 http=http) [all...] |
_auth.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 80 """Returns an http client that is authorized with the given credentials. 88 Union[httplib2.Http, google_auth_httplib2.AuthorizedHttp]: An 89 authorized http client. 91 from googleapiclient.http import build_http 102 http=build_http()) 108 # Refresh must use a new http instance, as the one associated with the 110 # Http instance which would cause a weird recursive loop of refreshing 112 refresh_http = httplib2.Http() 138 def get_credentials_from_http(http) [all...] |
/external/python/google-api-python-client/samples/appengine/ |
main.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 50 # Console <http://code.google.com/apis/console> 70 http = httplib2.Http(memcache) variable 71 service = discovery.build("plus", "v1", http=http) 94 http = decorator.http() 95 user = service.people().get(userId='me').execute(http=http) [all...] |
/external/apache-http/src/org/apache/http/client/protocol/ |
ResponseProcessCookies.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/protocol/ResponseProcessCookies.java $ 15 * http://www.apache.org/licenses/LICENSE-2.0 28 * <http://www.apache.org/>. 32 package org.apache.http.client.protocol; 39 import org.apache.http.Header; 40 import org.apache.http.HeaderIterator; 41 import org.apache.http.HttpException; 42 import org.apache.http.HttpResponse; 43 import org.apache.http.HttpResponseInterceptor [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
AbstractMessageParser.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/io/AbstractMessageParser.java $ 15 * http://www.apache.org/licenses/LICENSE-2.0 28 * <http://www.apache.org/>. 32 package org.apache.http.impl.io; 37 import org.apache.http.Header; 38 import org.apache.http.HttpException; 39 import org.apache.http.HttpMessage; 40 import org.apache.http.ParseException; 41 import org.apache.http.ProtocolException [all...] |
/external/opencensus-java/contrib/http_util/src/main/java/io/opencensus/contrib/http/util/ |
HttpViewConstants.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 17 package io.opencensus.contrib.http.util; 19 import static io.opencensus.contrib.http.util.HttpMeasureConstants.HTTP_CLIENT_METHOD; 20 import static io.opencensus.contrib.http.util.HttpMeasureConstants.HTTP_CLIENT_PATH; 21 import static io.opencensus.contrib.http.util.HttpMeasureConstants.HTTP_CLIENT_RECEIVED_BYTES; 22 import static io.opencensus.contrib.http.util.HttpMeasureConstants.HTTP_CLIENT_ROUNDTRIP_LATENCY; 23 import static io.opencensus.contrib.http.util.HttpMeasureConstants.HTTP_CLIENT_SENT_BYTES; 24 import static io.opencensus.contrib.http.util.HttpMeasureConstants.HTTP_CLIENT_STATUS; 25 import static io.opencensus.contrib.http.util.HttpMeasureConstants.HTTP_SERVER_LATENCY; 26 import static io.opencensus.contrib.http.util.HttpMeasureConstants.HTTP_SERVER_METHOD [all...] |
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
ApacheHttpClient.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 25 import org.apache.http.Header; 26 import org.apache.http.HttpResponse; 27 import org.apache.http.client.HttpClient; 28 import org.apache.http.client.methods.HttpGet; 29 import org.apache.http.conn.ClientConnectionManager; 30 import org.apache.http.conn.scheme.Scheme; 31 import org.apache.http.conn.ssl.SSLSocketFactory; 32 import org.apache.http.impl.client.DefaultHttpClient; 33 import org.apache.http.impl.conn.PoolingClientConnectionManager [all...] |
/external/syzkaller/dashboard/app/ |
handler.go | 10 "net/http" 22 type contextHandler func(c context.Context, w http.ResponseWriter, r *http.Request) error 24 func handlerWrapper(fn contextHandler) http.Handler { 28 func handleContext(fn contextHandler) http.Handler { 29 return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 40 w.WriteHeader(http.StatusForbidden) 43 http.Error(w, err.Error(), http.StatusInternalServerError [all...] |
/external/apache-http/src/org/apache/http/client/methods/ |
HttpOptions.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpOptions.java $ 15 * http://www.apache.org/licenses/LICENSE-2.0 28 * <http://www.apache.org/>. 32 package org.apache.http.client.methods; 38 import org.apache.http.Header; 39 import org.apache.http.HeaderElement; 40 import org.apache.http.HeaderIterator; 41 import org.apache.http.HttpResponse; 44 * HTTP OPTIONS method [all...] |
/external/apache-http/src/org/apache/http/entity/ |
AbstractHttpEntity.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/AbstractHttpEntity.java $ 15 * http://www.apache.org/licenses/LICENSE-2.0 28 * <http://www.apache.org/>. 32 package org.apache.http.entity; 36 import org.apache.http.Header; 37 import org.apache.http.HttpEntity; 38 import org.apache.http.message.BasicHeader; 39 import org.apache.http.protocol.HTTP; [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicHttpRequest.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/message/BasicHttpRequest.java $ 15 * http://www.apache.org/licenses/LICENSE-2.0 28 * <http://www.apache.org/>. 32 package org.apache.http.message; 34 import org.apache.http.HttpRequest; 35 import org.apache.http.ProtocolVersion; 36 import org.apache.http.RequestLine; 37 import org.apache.http.params.HttpProtocolParams; 40 * Basic implementation of an HTTP request that can be modified [all...] |
BufferedHeader.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/message/BufferedHeader.java $ 15 * http://www.apache.org/licenses/LICENSE-2.0 28 * <http://www.apache.org/>. 32 package org.apache.http.message; 34 import org.apache.http.FormattedHeader; 35 import org.apache.http.HeaderElement; 36 import org.apache.http.ParseException; 37 import org.apache.http.util.CharArrayBuffer; 40 * This class represents a raw HTTP header whose content is parsed 'on demand [all...] |
/external/libbrillo/brillo/http/ |
http_connection_fake.h | 13 #include <brillo/http/http_connection.h> 14 #include <brillo/http/http_transport_fake.h> 17 namespace http { namespace in namespace:brillo 20 // This is a fake implementation of http::Connection for unit testing. 21 class Connection : public http::Connection { 25 const std::shared_ptr<http::Transport>& transport); 28 // Overrides from http::Connection. 59 } // namespace http
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpSSLServerTest.java | 41 import org.apache.http.HttpEntity; 42 import org.apache.http.HttpResponse; 43 import org.apache.http.client.ClientProtocolException; 44 import org.apache.http.client.methods.HttpTrace; 45 import org.apache.http.impl.client.DefaultHttpClient;
|
SSLServerSocketFactoryTest.java | 40 import org.apache.http.HttpEntity; 41 import org.apache.http.HttpResponse; 42 import org.apache.http.client.ClientProtocolException; 43 import org.apache.http.client.methods.HttpTrace; 44 import org.apache.http.impl.client.DefaultHttpClient;
|
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/ |
ShadowDefaultRequestDirector.java | 9 import org.apache.http.ConnectionReuseStrategy; 10 import org.apache.http.HttpEntity; 11 import org.apache.http.HttpException; 12 import org.apache.http.HttpHost; 13 import org.apache.http.HttpRequest; 14 import org.apache.http.HttpResponse; 15 import org.apache.http.client.AuthenticationHandler; 16 import org.apache.http.client.HttpRequestRetryHandler; 17 import org.apache.http.client.RedirectHandler; 18 import org.apache.http.client.UserTokenHandler [all...] |
/external/wpa_supplicant_8/src/utils/ |
browser-system.c | 67 struct http_server *http; local 81 http = http_server_init(&addr, 12345, http_req, &data); 82 if (http == NULL) { 91 http_server_deinit(http); 113 http_server_deinit(http);
|
/external/python/httplib2/python2/ |
httplib2test.py | 33 base = "http://bitworking.org/projects/httplib2/test/" 34 # base = 'http://localhost/projects/httplib2/test/' 60 ("http", "example.com", "", None, None), 61 httplib2.parse_uri("http://example.com"), 72 ("http", "example.com", "/", None, None), 73 httplib2.parse_uri("http://example.com/"), 76 ("http", "example.com", "/path", None, None), 77 httplib2.parse_uri("http://example.com/path"), 80 ("http", "example.com", "/path", "a=1&b=2", None), 81 httplib2.parse_uri("http://example.com/path?a=1&b=2") [all...] |
/external/python/httplib2/python3/ |
httplib2test.py | 11 import http.client 23 base = "http://bitworking.org/projects/httplib2/test/" 49 ("http", "example.com", "", None, None), 50 httplib2.parse_uri("http://example.com"), 61 ("http", "example.com", "/", None, None), 62 httplib2.parse_uri("http://example.com/"), 65 ("http", "example.com", "/path", None, None), 66 httplib2.parse_uri("http://example.com/path"), 69 ("http", "example.com", "/path", "a=1&b=2", None), 70 httplib2.parse_uri("http://example.com/path?a=1&b=2") [all...] |