- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 81 for CONTENT (0.08 sec)
-
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt
.Builder() .body( """ |data: hey | | """.trimMargin(), ).setHeader("content-type", "text/plain") .build(), ) newEventSource() listener.assertFailure("Invalid content-type: text/plain") } @Test fun badResponseCode() { server.enqueue( MockResponse .Builder() .body(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 8.1K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
* * Example: * ``` * --> POST /greeting http/1.1 * Host: example.com * Content-Type: plain/text * Content-Length: 3 * --> END POST * * <-- 200 OK (22ms) * Content-Type: plain/text * Content-Length: 6 * <-- END HTTP * ``` */ HEADERS, /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/QueryCommandTest.java
assertQueryBuilder("content", "test", MatchPhraseQueryBuilder.class); assertQueryBuilder("content", "a", MatchPhraseQueryBuilder.class); assertQueryBuilder("content", "あ", PrefixQueryBuilder.class); assertQueryBuilder("content", "ああ", MatchPhraseQueryBuilder.class); assertQueryBuilder("content", "ア", PrefixQueryBuilder.class);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
// Create content with empty lines and comments String content = "# Comment line\n" + "\n" + // empty line "word1\n" + " \n" + // whitespace line (may be treated as content) "# Another comment\n" + "word2\n"; // Write content to test file writeTestFile(content); // Reload and verify
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
} /** * Appends line numbers to each line of content with a given prefix. * Useful for debugging and displaying content with line references. * * @param prefix the prefix to add before each line number * @param content the content to add line numbers to * @return the content with line numbers prepended, or empty string if content is blank */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/relatedcontent/ApiAdminRelatedcontentAction.java
import org.lastaflute.web.response.JsonResponse; import jakarta.annotation.Resource; /** * API action for admin related content management. * Provides RESTful API endpoints for managing related content settings in the Fess search engine. * Related content settings define content relationships and associations for search results. */ public class ApiAdminRelatedcontentAction extends FessApiAdminAction {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 8.4K bytes - Viewed (0) -
okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt
} } @Test fun testSkipUncompressNoContentResponse() { val response = response("https://httpbin.org/brotli", EMPTY) { header("Content-Encoding", "br") code(204) message("NO CONTENT") } val same = brotliInterceptor.decompress(response) val responseString = same.body.string() assertThat(responseString).isEmpty() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 22 08:12:58 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
final File jspFile = getJspFile(form.fileName, jspType); if (form.content == null) { form.content = StringUtil.EMPTY; } validate(form, messages -> {}, () -> asEditHtml(form)); verifyToken(() -> asEditHtml(form)); try { write(jspFile.getAbsolutePath(), decodeJsp(form.content).getBytes(Constants.UTF_8));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java
String content; try (final InputStream in = responseData.getResponseBody()) { final ExtractData extractData = getExtractData(extractor, in, createExtractParams(responseData, crawlingConfig)); content = extractData.getContent(); if (fessConfig.isCrawlerDocumentFileIgnoreEmptyContent() && StringUtil.isBlank(content)) { return null; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
public void test_unescape_withBackslash() { String content = "word\\n1\n" + // word + n + 1 "word\\\n"; // word + (nothing after backslash) InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8)); stopwordsFile.reload(null, is); assertEquals(2, stopwordsFile.stopwordsItemList.size()); // The content creates two lines: "word\n1" and "word\"
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0)