- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 590 for rheader (0.03 sec)
-
src/main/java/org/codelibs/core/io/ReaderUtil.java
} /** * Reads text from the given {@link Reader}. * <p> * The {@link Reader} is not closed by this method. * </p> * * @param reader * the character input stream to read from (must not be {@literal null}) * @return the text read from the reader */ public static String readText(final Reader reader) { assertArgumentNotNull("reader", reader);
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/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java
} public void test_commonPaths() throws Exception { // Test common paths assertEquals("/index.jsp", FessHtmlPath.path_IndexJsp.getRoutingPath()); assertEquals("/header.jsp", FessHtmlPath.path_HeaderJsp.getRoutingPath()); assertEquals("/footer.jsp", FessHtmlPath.path_FooterJsp.getRoutingPath()); assertEquals("/help.jsp", FessHtmlPath.path_HelpJsp.getRoutingPath()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.9K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
// The most common case is that from is a Reader (like InputStreamReader or StringReader) so // take advantage of that. if (from instanceof Reader) { // optimize for common output types which are optimized to deal with char[] if (to instanceof StringBuilder) { return copyReaderToBuilder((Reader) from, (StringBuilder) to); } else { return copyReaderToWriter((Reader) from, asWriter(to)); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 30 17:25:01 UTC 2025 - 10.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
nextRequest = route.address.proxyAuthenticator.authenticate(route, response) ?: throw IOException("Failed to authenticate with proxy") if ("close".equals(response.header("Connection"), ignoreCase = true)) { return nextRequest } } else -> throw IOException("Unexpected response code for CONNECT: ${response.code}") } } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.6K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
} } private fun send404( stream: Http2Stream, path: String, ) { val responseHeaders = listOf( Header(":status", "404"), Header(":version", "HTTP/1.1"), Header("content-type", "text/plain"), ) stream.writeHeaders( responseHeaders = responseHeaders, outFinished = false, flushHeaders = false, )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiReaderTest.java
public void close() throws IOException { super.close(); counter[0]--; } }; } }; Reader joinedReader = CharSource.concat(reader, reader, reader).openStream(); String result = CharStreams.toString(joinedReader); assertEquals(testString.length() * 3, result.length()); } public void testReady() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 45.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LineReader.java
while (lines.peek() == null) { Java8Compatibility.clear(cbuf); // The default implementation of Reader#read(CharBuffer) allocates a // temporary char[], so we call Reader#read(char[], int, int) instead. int read = (reader != null) ? reader.read(buf, 0, buf.length) : readable.read(cbuf); if (read == -1) { lineBuf.finish(); break; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/PropertiesUtil.java
} /** * Wraps exception handling for {@link Properties#load(Reader)}. * <p> * The input reader is not closed. * </p> * * @param props the property set (must not be {@literal null}) * @param reader the input reader (must not be {@literal null}) */ public static void load(final Properties props, final Reader reader) { assertArgumentNotNull("props", props);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 7.9K 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") }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 4.8K bytes - Viewed (0)