Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 217 for CONTENT (0.33 sec)

  1. src/test/java/org/codelibs/curl/CurlResponseTest.java

            Map<String, List<String>> headers = new HashMap<>();
            headers.put("Content-Type", Arrays.asList("application/json"));
            headers.put("Content-Length", Arrays.asList("100"));
            response.setHeaders(headers);
    
            String contentType = response.getHeaderValue("Content-Type");
            String contentLength = response.getHeaderValue("content-length"); // Test case insensitive
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

    import jakarta.annotation.PostConstruct;
    
    /**
     * Helper class for managing related content configurations.
     * This class provides functionality to load, cache, and retrieve related content
     * based on search queries and virtual host configurations. It supports both exact
     * term matching and regex pattern matching for flexible content association.
     */
    public class RelatedContentHelper extends AbstractConfigHelper {
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/RelatedContentService.java

    import org.dbflute.cbean.result.PagingResultBean;
    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    /**
     * Service class for managing related content entities.
     * This service provides CRUD operations for related content, including
     * retrieval, storage, deletion, and search functionality.
     */
    public class RelatedContentService extends FessAppService {
    
        /**
         * Default constructor.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/CreateForm.java

        public String term;
    
        /**
         * The related content to be displayed.
         */
        @Required
        @Size(max = 10000)
        public String content;
    
        /**
         * The virtual host for which this related content applies.
         */
        @Size(max = 1000)
        public String virtualHost;
    
        /**
         * The sort order for this related content (0-2147483647).
         */
        @Min(value = 0)
        @Max(value = 2147483647)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/util/DocList.java

            processingTime = 0;
        }
    
        /**
         * Gets the total content size of all documents in this list.
         *
         * @return the total content size in bytes
         */
        public long getContentSize() {
            return contentSize;
        }
    
        /**
         * Adds to the total content size of this document list.
         *
         * @param contentSize the content size to add in bytes
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

         * Allows clients to provide custom content building implementations.
         */
        public interface XContentBuilderCallback {
            /**
             * Applies custom logic to build XContent using the provided builder and parameters.
             *
             * @param builder the XContentBuilder to use for building content
             * @param params the parameters to use during content building
             * @return the modified XContentBuilder
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            List<RelatedContent> testData = new ArrayList<>();
            testData.add(createRelatedContent("term1", "Content for host1", "host1"));
            testData.add(createRelatedContent("term1", "Content for host2", "host2"));
            testData.add(createRelatedContent("term2", "Content for default", ""));
            mockBhv.setTestData(testData);
    
            int count = relatedContentHelper.load();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

                    languageHelper.createScript(doc, "aaa").getIdOrCode());
        }
    
        public void test_getReindexScriptSource() {
            assertEquals(
                    "if(ctx._source.lang!=null){ctx._source['title_'+ctx._source.lang]=ctx._source.title;ctx._source['content_'+ctx._source.lang]=ctx._source.content}",
                    languageHelper.getReindexScriptSource());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top