- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 257 for encodings (0.29 sec)
-
src/main/java/org/codelibs/core/io/WriterUtil.java
/** * Creates a {@link Writer} to output to a stream with the specified encoding. * * @param os the stream (must not be {@literal null}) * @param encoding the encoding (must not be {@literal null} or empty) * @return a {@link Writer} to output to the stream */ public static Writer create(final OutputStream os, final String encoding) { assertArgumentNotNull("os", os);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
assertThat(encoding.canDecode(encoded)).isTrue(); assertThat(encoding.decode(encoded)).isEqualTo(decoded); } private static void assertFailsToDecode(BaseEncoding encoding, String cannotDecode) { assertFailsToDecode(encoding, cannotDecode, null); } private static void assertFailsToDecode( BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
* * @param is * the input stream (must not be {@literal null}) * @param encoding * the encoding of the input stream (must not be {@literal null} or empty) * @return a {@link Reader} to read from the file */ public static InputStreamReader create(final InputStream is, final String encoding) { assertArgumentNotNull("is", is);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
} /** * Gets the encoding used for the response content. * * @return the encoding. */ public String getEncoding() { return encoding; } /** * Sets the encoding for the response content. * * @param encoding the encoding to set. */ public void setEncoding(final String encoding) { this.encoding = encoding; }
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
} @Test public void testEncoding() { CurlResponse response = new CurlResponse(); String encoding = "UTF-8"; response.setEncoding(encoding); assertEquals(encoding, response.getEncoding()); } @Test public void testContentException() { CurlResponse response = new CurlResponse();
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 11.5K bytes - Viewed (0) -
okhttp-brotli/src/main/kotlin/okhttp3/brotli/BrotliInterceptor.kt
/** * 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) object Brotli : CompressionInterceptor.DecompressionAlgorithm { override val encoding: String get() = "br"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 1.3K bytes - Viewed (0) -
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt
val s = "hello zstd world".encodeUtf8().zstdCompress() val response = response("https://example.com/", s) { header("Content-Encoding", "zstd") } val decompressed = zstdInterceptor.decompress(response) assertThat(decompressed.header("Content-Encoding")).isNull() val responseString = decompressed.body.string() assertThat(responseString).isEqualTo("hello zstd world") } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/webapp/WEB-INF/web.xml
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue May 06 09:19:22 UTC 2025 - 7.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt
writeByte('%'.code) writeByte(HEX_DIGITS[b shr 4 and 0xf].code) writeByte(HEX_DIGITS[b and 0xf].code) } } else { // This character doesn't need encoding. Just copy it over. writeUtf8CodePoint(codePoint) } i += Character.charCount(codePoint) } } /** * Returns a substring of `input` on the range `[pos..limit)` with the following
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt
private const val KEEP_ALIVE = "keep-alive" private const val PROXY_CONNECTION = "proxy-connection" private const val TRANSFER_ENCODING = "transfer-encoding" private const val TE = "te" private const val ENCODING = "encoding" private const val UPGRADE = "upgrade" /** See http://tools.ietf.org/html/draft-ietf-httpbis-http2-09#section-8.1.3. */ private val HTTP_2_SKIPPED_REQUEST_HEADERS =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 21:11:09 UTC 2025 - 7K bytes - Viewed (0)