/prebuilts/go/linux-x86/src/net/http/httputil/ |
example_test.go | 14 "net/url" 31 req, err := http.NewRequest("POST", ts.URL, strings.NewReader(body)) 79 resp, err := http.Get(ts.URL) 102 rpURL, err := url.Parse(backendServer.URL) 109 resp, err := http.Get(frontendProxy.URL)
|
reverseproxy.go | 15 "net/url" 90 func NewSingleHostReverseProxy(target *url.URL) *ReverseProxy { 93 req.URL.Scheme = target.Scheme 94 req.URL.Host = target.Host 95 req.URL.Path = singleJoiningSlash(target.Path, req.URL.Path) 96 if targetQuery == "" || req.URL.RawQuery == "" { 97 req.URL.RawQuery = targetQuery + req.URL.RawQuer [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
JUnitLaunchConfigDelegate.java | 31 import java.net.URL; 153 URL jarUrl = bundle.getEntry(AdtConstants.WS_SEP + JUNIT_JAR);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
AdtTestData.java | 27 import java.net.URL; 57 URL url = this.getClass().getClassLoader().getResource("."); //$NON-NLS-1$ local 62 mOsRootDataPath = FileLocator.resolve(url).getFile(); 64 // Fix the path returned by the URL resolver 78 sLogger.warning("IOException while using FileLocator, reverting to url"); 79 mOsRootDataPath = url.getFile(); 82 sLogger.info("Running as an plain JUnit test, using url as-is"); 83 mOsRootDataPath = url.getFile();
|
/prebuilts/go/darwin-x86/src/net/http/ |
client.go | 20 "net/url" 68 // closed) and CheckRedirect's error (wrapped in a url.Error) 141 // The Request's URL and Header fields must be initialized. 147 func refererForURL(lastReq, newReq *url.URL) string { 159 // - introducing a new method on URL 161 // - copying the URL struct manually, which would cause 172 for _, cookie := range c.Jar.Cookies(req.URL) { 182 c.Jar.SetCookies(req.URL, rc) 212 if req.URL == nil [all...] |
/prebuilts/go/linux-x86/src/net/http/ |
client.go | 20 "net/url" 68 // closed) and CheckRedirect's error (wrapped in a url.Error) 141 // The Request's URL and Header fields must be initialized. 147 func refererForURL(lastReq, newReq *url.URL) string { 159 // - introducing a new method on URL 161 // - copying the URL struct manually, which would cause 172 for _, cookie := range c.Jar.Cookies(req.URL) { 182 c.Jar.SetCookies(req.URL, rc) 212 if req.URL == nil [all...] |
/prebuilts/go/darwin-x86/src/net/http/httputil/ |
reverseproxy.go | 15 "net/url" 90 func NewSingleHostReverseProxy(target *url.URL) *ReverseProxy { 93 req.URL.Scheme = target.Scheme 94 req.URL.Host = target.Host 95 req.URL.Path = singleJoiningSlash(target.Path, req.URL.Path) 96 if targetQuery == "" || req.URL.RawQuery == "" { 97 req.URL.RawQuery = targetQuery + req.URL.RawQuer [all...] |
/external/libxml2/ |
nanohttp.c | 128 char *path; /* the path within the URL */ 144 char *location; /* the new URL in case of redirect */ 277 * @URL: The URL used to initialize the context 279 * (Re)Initialize an HTTP context by parsing the URL and finding 284 xmlNanoHTTPScanURL(xmlNanoHTTPCtxtPtr ctxt, const char *URL) { 307 if (URL == NULL) return; 309 uri = xmlParseURIRaw(URL, 1); 342 * @URL: The proxy URL used to initialize the proxy contex [all...] |
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/ |
W3cHints.java | 61 public static final String URL = "url";
|
/developers/build/prebuilts/gradle/NetworkConnect/Application/src/main/java/com/example/android/networkconnect/ |
NetworkFragment.java | 33 import java.net.URL; 50 * Static initializer for NetworkFragment that sets the URL of the host it will be downloading 53 public static NetworkFragment getInstance(FragmentManager fragmentManager, String url) { 64 args.putString(URL_KEY, url); 167 URL url = new URL(urlString); local 168 String resultString = downloadUrl(url); 215 * Given a URL, sets up a connection and gets the HTTP response body from the server. 219 private String downloadUrl(URL url) throws IOException [all...] |
/developers/samples/android/connectivity/network/NetworkConnect/Application/src/main/java/com/example/android/networkconnect/ |
NetworkFragment.java | 33 import java.net.URL; 50 * Static initializer for NetworkFragment that sets the URL of the host it will be downloading 53 public static NetworkFragment getInstance(FragmentManager fragmentManager, String url) { 64 args.putString(URL_KEY, url); 167 URL url = new URL(urlString); local 168 String resultString = downloadUrl(url); 215 * Given a URL, sets up a connection and gets the HTTP response body from the server. 219 private String downloadUrl(URL url) throws IOException [all...] |
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/ |
NetworkFragment.java | 33 import java.net.URL; 50 * Static initializer for NetworkFragment that sets the URL of the host it will be downloading 53 public static NetworkFragment getInstance(FragmentManager fragmentManager, String url) { 64 args.putString(URL_KEY, url); 167 URL url = new URL(urlString); local 168 String resultString = downloadUrl(url); 215 * Given a URL, sets up a connection and gets the HTTP response body from the server. 219 private String downloadUrl(URL url) throws IOException [all...] |
/external/curl/tests/libtest/ |
lib506.c | 32 char *url; member in struct:Tdata 145 curl_easy_setopt(curl, CURLOPT_URL, tdata->url); 152 fprintf(stderr, "perform url '%s' repeat %d failed, curlcode %d\n", 153 tdata->url, i, (int)code); 164 /* build request url */ 172 int test(char *URL) 177 char *url = NULL; local 267 tdata.url = suburl(URL, i); /* must be curl_free()d */ 274 curl_free(tdata.url); [all...] |
/external/golang-protobuf/ptypes/any/ |
any.pb.go | 31 // URL that describes the type of the serialized message. 66 // 'type.googleapis.com/full.type.name' as the type URL and the unpack 68 // in the type URL, for example "foo.bar.com/x/y.z" will yield type 76 // additional field `@type` which contains the type URL. Example: 101 // A URL/resource name whose content describes the type of the 108 // * The last segment of the URL's path must represent the fully 112 // * An HTTP GET on the URL must yield a [google.protobuf.Type][] 115 // URL, or have them precompiled into a binary to avoid any
|
/external/libxml2/include/libxml/ |
schematron.h | 73 xmlSchematronNewParserCtxt (const char *URL);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
RequestTest.java | 23 import java.net.URL; 96 Request get = new Request.Builder().url("http://localhost/api").get().build(); 100 Request head = new Request.Builder().url("http://localhost/api").head().build(); 104 Request delete = new Request.Builder().url("http://localhost/api").delete().build(); 108 Request post = new Request.Builder().url("http://localhost/api").post(body).build(); 112 Request put = new Request.Builder().url("http://localhost/api").put(body).build(); 116 Request patch = new Request.Builder().url("http://localhost/api").patch(body).build(); 122 Request request = new Request.Builder().url("http://localhost/api").build(); 124 assertEquals(new URL("http://localhost/api"), request.url()); [all...] |
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
Any.cs | 43 /// URL that describes the type of the serialized message. 68 /// 'type.googleapis.com/full.type.name' as the type URL and the unpack 70 /// in the type URL, for example "foo.bar.com/x/y.z" will yield type 77 /// additional field `@type` which contains the type URL. Example: 133 /// A URL/resource name whose content describes the type of the 140 /// * The last segment of the URL's path must represent the fully 144 /// * An HTTP GET on the URL must yield a [google.protobuf.Type][] 147 /// URL, or have them precompiled into a binary to avoid any
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
DirectStatementRetriever.java | 26 import java.net.URL; 133 return new URL(asset.getScheme(), asset.getDomain(), asset.getPort(), 151 URL url = new URL(urlString); local 153 && !url.getProtocol().toLowerCase().equals("https")) { 156 webContent = mUrlFetcher.getWebContentFromUrlWithRetry(url,
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldCookieHandlerTest.java | 25 import java.net.URL;
|
/libcore/ojluni/src/main/java/java/sql/ |
SQLInput.java | 355 * <code>java.net.URL</code> object in the Java programming language. 357 * @return a <code>java.net.URL</code> object. 359 * or if a URL is malformed 364 java.net.URL readURL() throws SQLException;
|
SQLOutput.java | 361 * @param x a <code>java.net.URL</code> object representing the data 369 void writeURL(java.net.URL x) throws SQLException;
|
/libcore/support/src/test/java/tests/support/resource/ |
Support_Resources.java | 28 import java.net.URL; 74 URL url; local 76 url = new URL(urlSpec); 78 throw new RuntimeException("Unable to create url: " + urlSpec, e); 80 return url.toString(); 148 public static File getExternalLocalFile(String url) throws IOException { 150 InputStream in = new URL(url).openStream() [all...] |
/prebuilts/go/darwin-x86/src/net/http/httptest/ |
example_test.go | 44 res, err := http.Get(ts.URL) 65 res, err := client.Get(ts.URL)
|
/prebuilts/go/linux-x86/src/net/http/httptest/ |
example_test.go | 44 res, err := http.Get(ts.URL) 65 res, err := client.Get(ts.URL)
|
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/ |
CaptivePortalLoginActivity.java | 67 import java.net.URL; 91 private URL mUrl; 117 // getUrl() failed to parse the url provided in the intent: bail out in a way that 296 final String url = mUrl.toString(); local 298 Log.d(TAG, "starting activity with intent ACTION_VIEW for " + url); 300 startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url))); 304 private URL getUrl() { 305 String url = getIntent().getStringExtra(ConnectivityManager.EXTRA_CAPTIVE_PORTAL_URL); local 306 if (url == null) { 307 url = mCm.getCaptivePortalServerUrl() 417 final URL url = makeURL(urlString); local 467 final URL url = makeURL(error.getUrl()); local [all...] |