- Sort Score
- Result 10 results
- Languages All
Results 851 - 860 of 1,804 for request_ (0.04 sec)
-
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) -
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) -
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 for lookup of the data, must not be {@code null}. * @return The requested data or {@code null} if none was present in the cache. */ Object get(RepositoryRequest request, Object key);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
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) -
internal/http/transports.go
tr := s.getDefaultTransport(maxIdleConnsPerHost) // Settings specific to internode requests. tr.TLSHandshakeTimeout = 15 * time.Second return func() http.RoundTripper { return tr } } // NewCustomHTTPProxyTransport is used only for proxied requests, specifically // only supports HTTP/1.1 func (s ConnSettings) NewCustomHTTPProxyTransport() func() *http.Transport {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6K bytes - Viewed (0) -
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) -
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) -
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) -
src/main/java/jcifs/smb/NetServerEnumIterator.java
} if ( this.workgroup && this.response.getStatus() == WinError.ERROR_MORE_DATA ) { this.request.reset(0, this.response.getLastName()); this.response.reset(); this.request.setSubCommand(SmbComTransaction.NET_SERVER_ENUM3); this.treeHandle.send(this.request, this.response); checkStatus(); this.ridx = 0; return advance(); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CertificatePinning.kt
import okhttp3.OkHttpClient import okhttp3.Request class CertificatePinning { private val client = OkHttpClient.Builder() .certificatePinner( CertificatePinner.Builder() .add("publicobject.com", "sha256/Vjs8r4z+80wjNcr1YKepWQboSIRi63WsWXhIMN+eWys=") .build(), ) .build() fun run() { val request = Request.Builder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.4K bytes - Viewed (0)