Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 1,758 for Request (0.07 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt

              File("docs/images/logo-square.png").asRequestBody(MEDIA_TYPE_PNG),
            )
            .build()
    
        val request =
          Request.Builder()
            .header("Authorization", "Client-ID $IMGUR_CLIENT_ID")
            .url("https://api.imgur.com/3/image")
            .post(requestBody)
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/testdata/configdump.json

                                  "tag": "istio.authorization.dry_run.allow_policy.name",
                                  "metadata": {
                                    "kind": {
                                      "request": {}
                                    },
                                    "metadata_key": {
                                      "key": "envoy.filters.http.rbac",
                                      "path": [
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 52K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/Progress.java

    import okhttp3.MediaType;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    import okhttp3.ResponseBody;
    import okio.Buffer;
    import okio.BufferedSource;
    import okio.ForwardingSource;
    import okio.Okio;
    import okio.Source;
    
    public final class Progress {
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryCache.java

         *
         * @param request The repository request from which this cache was retrieved, must not be {@code null}.
         * @param key The key to use associate the data with, must not be {@code null}.
         * @param data The data to store in the cache, may be {@code null}.
         */
        void put(RepositoryRequest request, Object key, Object data);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/CancelCall.java

    import okhttp3.Call;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public class CancelCall {
      private final ScheduledExecutorService executor = Executors.newScheduledThreadPool(1);
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

      }
    
      private fun newChain(call: RealCall): RealInterceptorChain {
        return RealInterceptorChain(
          call = call,
          interceptors = listOf(),
          index = 0,
          exchange = null,
          request = call.request(),
          connectTimeoutMillis = 10_000,
          readTimeoutMillis = 10_000,
          writeTimeoutMillis = 10_000,
        )
      }
    
      companion object {
        private const val PROXY_A_PORT = 1001
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. cmd/api-router.go

    }
    
    // getHost tries its best to return the request host.
    // According to section 14.23 of RFC 2616 the Host header
    // can include the port number if the default value of 80 is not used.
    func getHost(r *http.Request) string {
    	if r.URL.IsAbs() {
    		return r.URL.Host
    	}
    	return r.Host
    }
    
    func notImplementedHandler(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileInputStream.java

                    try {
    
                        if ( th.isSMB2() ) {
                            Smb2ReadRequest request = new Smb2ReadRequest(th.getConfig(), fd.getFileId(), b, off);
                            request.setOffset(type == SmbConstants.TYPE_NAMED_PIPE ? 0 : this.fp);
                            request.setReadLength(r);
                            request.setRemainingBytes(len - r);
    
                            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            Metadata metadata = request.getMetadata();
    
            String path;
            if (request.getRepository() == null) {
                path = getPathForLocalMetadata(metadata);
            } else {
                path = getPathForRemoteMetadata(metadata, request.getRepository(), request.getContext());
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionRequest.java

         */
        List<Server> getServers();
    
        /**
         * Sets the servers whose passwords should be decrypted.
         *
         * @param servers The servers to decrypt, may be {@code null}.
         * @return This request, never {@code null}.
         */
        SettingsDecryptionRequest setServers(List<Server> servers);
    
        /**
         * Gets the proxies whose passwords should be decrypted.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top