- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for transparent (0.05 sec)
-
okhttp-brotli/src/main/kotlin/okhttp3/brotli/BrotliInterceptor.kt
import okio.BufferedSource import okio.Source import okio.source import org.brotli.dec.BrotliInputStream /** * Transparent Brotli response support. * * Adds Accept-Encoding: br to request and checks (and strips) for Content-Encoding: br in * responses. n.b. this replaces the transparent gzip compression in BridgeInterceptor. */ object BrotliInterceptor : CompressionInterceptor(Brotli, Gzip)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 1.3K bytes - Viewed (0) -
README.md
```java import jcifs.CIFSContext; import jcifs.context.SingletonContext; import jcifs.smb.SmbFile; // Using default context CIFSContext context = SingletonContext.getInstance(); // Access a file (encryption is transparent - automatically used if server requires it) try (SmbFile file = new SmbFile("smb://server/share/file.txt", context)) { if (file.exists()) { System.out.println("File size: " + file.length()); } } ```
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 09:24:52 UTC 2025 - 6.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt
import okhttp3.ResponseBody.Companion.asResponseBody import okhttp3.internal.http.promisesBody import okio.BufferedSource import okio.GzipSource import okio.Source import okio.buffer /** * Transparent Compressed response support. * * The algorithm map will be turned into a heading such as "Accept-Encoding: br, gzip" * * If [algorithms] is empty this interceptor has no effect. To disable compression set
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 3.2K bytes - Viewed (1) -
src/main/java/jcifs/smb/Handler.java
import java.net.URLStreamHandler; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSContext; import jcifs.SmbConstants; import jcifs.context.SingletonContext; /** * URL handler for transparent smb:// URL handling * */ public class Handler extends URLStreamHandler { private static final Logger log = LoggerFactory.getLogger(Handler.class); private CIFSContext transportContext; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
doc/godebug.md
setting](/pkg/crypto/tls/#ConnectionState.ExportKeyingMaterial). Go 1.22 changed how the runtime interacts with transparent huge pages on Linux. In particular, a common default Linux kernel configuration can result in significant memory overheads, and Go 1.22 no longer works around this default. To work around this issue without adjusting kernel settings, transparent huge pages can be disabled for Go memory with the
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jul 08 18:30:38 UTC 2025 - 22.9K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/Curl.java
* <li>OPTIONS - Returns the HTTP methods that the server supports.</li> * <li>TRACE - Echoes back the received request, used for debugging.</li> * <li>CONNECT - Converts the request connection to a transparent TCP/IP tunnel.</li> * </ul> */ public enum Method { /** * HTTP GET method. */ GET, /** * HTTP POST method. */
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 5.5K bytes - Viewed (0) -
README.md
OkHttp is an HTTP client that’s efficient by default: * HTTP/2 support allows all requests to the same host to share a socket. * Connection pooling reduces request latency (if HTTP/2 isn’t available). * Transparent GZIP shrinks download sizes. * Response caching avoids the network completely for repeat requests. OkHttp perseveres when the network is troublesome: it will silently recover from common connection
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
assertContent("a", getResponse(newRequest("/"))) // Give the server time to disconnect. Thread.sleep(500) // This connection will need to be recovered. When it is, transparent gzip should still work! assertContent("b", getResponse(newRequest("/"))) assertThat(server.takeRequest().exchangeIndex).isEqualTo(0) // Connection is not pooled.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
URL url1 = new URL("file:/a"); URL url2 = new URL("file:/b"); URLClassLoader grandParent = new URLClassLoader(new URL[] {url1}, null); URLClassLoader parent = new URLClassLoader(new URL[] {url2}, grandParent); assertThat(ClassPath.getClassPathEntries(new ClassLoader(parent) {})) .containsExactly(new File("/a"), grandParent, new File("/b"), parent); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 23K bytes - Viewed (0) -
okhttp-brotli/README.md
OkHttp Brotli Implementation ============================ This module is an implementation of [Brotli][1] compression. It enables Brotli support in addition to tranparent Gzip support, provided Accept-Encoding is not set previously. Modern web servers must choose to return Brotli responses. n.b. It is not used for sending requests. ```java OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(BrotliInterceptor.INSTANCE) .build();
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 571 bytes - Viewed (0)